antononcube / WL-MermaidJS-paclet

Wolfram Language (aka Mathematica) paclet for obtaining Mermaid-JS images and graphics.
https://resources.wolframcloud.com/PacletRepository/resources/AntonAntonov/MermaidJS/
MIT License
3 stars 2 forks source link

Fix issue preventing markdown rendering. Do not assume zsh for all unix users. #4

Open gdelfino opened 6 months ago

gdelfino commented 6 months ago

When using a Unix based OS, diagrams with Markdown were failing. The backticks required by mmdc were being interpreted by the shell because the input was not in a file. Additionally, the default value for SessionProlog was changed to depend on the value of the SHELL environmental variable.

antononcube commented 6 months ago

Thanks for working out those issues! I will review and merge today / this weekend.