Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: additional yfm plugins in contentTransformer #551

Merged
merged 3 commits into from
Sep 18, 2023

Conversation

Kyzyl-ool
Copy link
Contributor

No description provided.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

export type TransformerRaw = (
lang: Lang,
content: string,
additionalPlugins: MarkdownItPluginCb[],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

additionalPlugins: MarkdownItPluginCb[] => options: {plugins: MarkdownItPluginCb[]}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ready

lang: Lang,
blocksConfig: BlocksConfig,
block: ConstructorBlock,
additionalPlugins: MarkdownItPluginCb[],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

additionalPlugins -> options

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

renamed

@Kyzyl-ool Kyzyl-ool merged commit 7799a59 into main Sep 18, 2023
3 checks passed
@Kyzyl-ool Kyzyl-ool deleted the feat/external-yfm-plugins branch September 18, 2023 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants