@scienceicons/myst
v1.0.4
Published
Open Science Icons in MyST Markdown by Curvenote
Downloads
404
Readme
@scienceicons/myst
A MyST Markdown role for science icons and an accompanying react based renderer
Installation
Copy the file scienceicons.mjs
from dist/
intoyour local mystmd
project and add it to the list of plugins in myst.yml
:
project:
plugins:
- scienceicons.mjs
Using the Role
To use the role simply add it to your MyST markdown like so:
Praesent mattis viverra lacus, {scienceicon}`twitter` at cursus eros hendrerit nec {scienceicon}`curvenote`.
And the relevant icons will appear inline in your text. Use the icons in links by:
... metus ut consequat [{scienceicon}`twitter`](https://x.com/@curvenote) 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.
Using the renderer
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/<org>/<repo>.git#<branch>
) and include in your build.