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
https://github.com/docarys/markdown-it-admonition has an admonition type for questions.
An admonition to highlight questions would be very useful. I miss that a lot.
!!! question !!!
Other types provided by markdown-it-admonition and currently not supported in Boostnote are:
However, I think adding all of them would be confusing as caution, danger and warning can be used exchangeable.
caution
danger
warning
The text was updated successfully, but these errors were encountered:
Hey, See #3297 for the added question, quote, and abstract types.
You can add as many as you'd like by adding styles to markdown.styl:
markdown.styl
admonition_types = { note: {color: #0288D1, icon: "note"}, hint: {color: #009688, icon: "info_outline"}, danger: {color: #c2185b, icon: "block"}, caution: {color: #ffa726, icon: "warning"}, error: {color: #d32f2f, icon: "error_outline"}, question: {color: #64dd17, icon: "help_outline"}, quote: {color: #9e9e9e, icon: "format_quote"}, abstract: {color: #00b0ff, icon: "subject"}, attention: {color: #455a64, icon: "priority_high"}, }
and adding the name of the admonition at markdown.js
markdown.js
this.md.use(require('markdown-it-admonition'), {types: ['note', 'hint', 'attention', 'caution', 'danger', 'error', 'quote', 'abstract', 'question']})
Sorry, something went wrong.
Hello, how could i access the file markdown.js in the application?
No branches or pull requests
Current behavior
https://github.com/docarys/markdown-it-admonition has an admonition type for questions.
Expected behavior
An admonition to highlight questions would be very useful. I miss that a lot.
Other types provided by markdown-it-admonition and currently not supported in Boostnote are:
However, I think adding all of them would be confusing as
caution
,danger
andwarning
can be used exchangeable.Steps to Replicate
Environment
The text was updated successfully, but these errors were encountered: