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
We want to use formula inside the markdown.. is it possible to add mathjax with this plugin which can render formulas too?
Thanks
The text was updated successfully, but these errors were encountered:
@PrithiviRajG You'd want to use the new access to the marked object (see https://github.com/dimpu/angular2-markdown#marked-customization) to get the lexer. Then write a custom marked lexer rule for /\$\$(.*)?\$\$/ (see https://github.com/chjj/marked#access-to-lexer-and-parser) and pass that to the MathJax library in a custom renderer callback function.
/\$\$(.*)?\$\$/
Example of overriding the lexer http://stackoverflow.com/questions/26507341/how-to-write-custom-inlinelexer-rule-for-marked-js.
Sorry, something went wrong.
No branches or pull requests
We want to use formula inside the markdown.. is it possible to add mathjax with this plugin which can render formulas too?
Thanks
The text was updated successfully, but these errors were encountered: