Open Science Icons in MyST Markdown by Curvenote
npm install @scienceicons/mystA MyST Markdown role for science icons and an accompanying react based renderer
Copy the file scienceicons.mjs from dist/ intoyour local mystmd project and add it to the list of plugins in myst.yml:
``yaml`
project:
plugins:
- scienceicons.mjs
To use the role simply add it to your MyST markdown like so:
`markdowntwitter
Praesent mattis viverra lacus, {scienceicon} at cursus eros hendrerit nec {scienceicon}curvenote.`
And the relevant icons will appear inline in your text. Use the icons in links by:
`markdowntwitter
... metus ut consequat {scienceicon} dignissim ante sem ...`
Browse the full list of icon names on UNPKG →
> [!TIP]
> MyST Markdown's plugin loading system is still developing, look out for updates on easier ways to access and load plugins.
Methods for installing a bundled renderer are still in development by the MyST Markdown project and Curvenote. In the meantime you can install this package from git (git+https://github.com/