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
Describe the bug If you use markdown-it-mathjax3 plugin with q-markdown then you can't use any math expressions starting with \n like \notin because \n is getting replaced. Source code of the replacement https://github.com/quasarframework/quasar-ui-qmarkdown/blob/dev/ui/src/components/QMarkdown.js#L155
To Reproduce Steps to reproduce the behavior:
<q-markdown :extend="onExtend" :src="` $$A \\setminus B = \\{ x\\mid x\\in A \\text{ and } x \\notin B\\}.$$ `"></q-markdown>
Expected behavior
Screenshots
Suggested solution Add property to NOT do the \n replacement
The text was updated successfully, but these errors were encountered:
fix(ui): Can't use markdown-it-mathjax3 plugin because of \n replacem…
81d99fb
…ent from src attribute (#265)
Fixed in QMarkdown v2.0.0-alpha.6. If you need this for v1.x let me know.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
If you use markdown-it-mathjax3 plugin with q-markdown then you can't use any math expressions starting with \n like \notin because \n is getting replaced. Source code of the replacement https://github.com/quasarframework/quasar-ui-qmarkdown/blob/dev/ui/src/components/QMarkdown.js#L155
To Reproduce
Steps to reproduce the behavior:
onExtend(mdi) {
const mdMathJax = require("markdown-it-mathjax3");
mdi.use(mdMathJax);
},
<q-markdown :extend="onExtend" :src="` $$A \\setminus B = \\{ x\\mid x\\in A \\text{ and } x \\notin B\\}.$$ `"></q-markdown>
Expected behavior
Screenshots
Suggested solution
Add property to NOT do the \n replacement
The text was updated successfully, but these errors were encountered: