You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
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!The text was updated successfully, but these errors were encountered: