Closed craftzdog closed 2 years ago
Did I get it right? To use icons in such way, Gatsby requires transforming .md
pages in react components?
Ahh, good point.
The simplest way to use the icons in .md
is to move them to public/images/
folder and to embed them as img tags.
Actually, I have some svg files already in it.
I don't have much reason to use mdx at the moment.
cc: @dmitriyrotaenko
You can simply import the icon files like so: https://github.com/inkdropapp/docs/blob/master/src/pages/index.js#L4