Open
Description
Problem summary
Yarn seems to use a flat package layout (?) and therefore mermaid.js and mathjax.js are not placed where npm would place it. Code blocks and mermaid graphs fail to render.
Expected
Mermaid.js and Mathjax.js just works with yarn
Environment Information
- OS and version: Linux
- Vim: 8.2
- Browser and version: Firefox 89
Provide the output of test command (required)
All tests pass
Steps to reproduce the issue (required)
Start with command you used to install instant-markdown-d
yarn global add instant-markdown-d
instant-markdown-d --mathjax --mermaid <test_math.md
instant-markdown-d --mathjax --mermaid <test_mermaid.md
ls ~/.config/yarn/global/node_modules/instant-markdown-d/node_modules
-> empty!yarn global remove instant-markdown-d
npm install -g instant-markdown-d
ls ~/.npm-packages/lib/node_modules/instant-markdown-d/node_modules
-> all dependencies!