Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

gdelfino
Copy link

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.

Do not assume that everyone is using zsh.
Always write mmdc input in a file, not just under Windows.
When the mmdc input is sent as part of the command and not in a file,
then the backticks (`) required to embed markdown are interpreted by
the shell and never reach mmdc.
This flag was already being used for Mac/Unix but was not being used
for Windows.
@antononcube
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants