We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
no
If the highlight function is passed in options: MarkdownOptions, this function will be invoked, otherwise the default will be used.
options: MarkdownOptions
const md = MarkdownIt({ html: true, linkify: true, highlight: options.highlight || await highlight(options.theme), ...options }) as MarkdownRenderer
No response
The text was updated successfully, but these errors were encountered:
Yeah why not. I think this can be useful, and simple to implement. If anyone wants to tackle this, PR is welcome!
Sorry, something went wrong.
feat(build): allow using custom highlighter (#754) (#857)
ddf876d
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
If the highlight function is passed in
options: MarkdownOptions
, this function will be invoked, otherwise the default will be used.Describe alternatives you've considered
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: