jupyter-book / mystmd

Command line tools for working with MyST Markdown.
https://mystmd.org/guide
MIT License
219 stars 64 forks source link

🖼 Add `icon` node #1432

Closed agoose77 closed 3 months ago

agoose77 commented 3 months ago

This PR adds support for a subset of the icon syntax from sphinx-design. Although this new role supports the legacy role names such as {fab}, the preferred aliases are:

'icon:oct',
'icon:mrg',
'icon:mol',
'icon:mrd',
'icon:msp',
'icon:mtt',
'icon:fab',
'icon:far',
'icon:fas'
changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 58ef0480025ab03ae69af1aac721bd6a9753cb58

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages | Name | Type | | ------------- | ----- | | myst-ext-icon | Minor | | myst-cli | Patch | | mystmd | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

agoose77 commented 3 months ago

@rowanc1 should we look to merging this ahead of getting theme support? Do you concur that it's worth targeting the same icon packs as sphinx-design?

rowanc1 commented 3 months ago

Let's talk about the icon packs we support when we build out the theme (probably lower priority than some of the other things we have on at the moment).