1.0.4 • Published 10 months ago

@scienceicons/myst v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@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.

1.0.2

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.1

12 months ago

1.0.0

12 months ago