mermaid-filter
mermaid-filter copied to clipboard
Filter fails with config or CSS file when path has spaces
When the path to a .mermaid.css
or .mermaid-config.json
file contains a space, the command run does not include handling the space and fails.
Steps to reproduce:
- Create a folder with a space in it
- Create md file and CSS or JSON file in the folder
- Run pandoc with the filter so it uses the CSS or JSON file
The -c /path/to/file/with space/.mermaid.css
argument will cause the command to fail