On macOS if you run mermaid-filter with the MERMAID_FILTER_FORMAT environment variable set to "svg", you will get the error:
Could not convert image /path/to/image/file: check that rsvg-convert is in path.
rsvg-convert: createProcess: posix_spawnp: does not exist (No such file or directory)
I ran brew install librsvg and that fixed the dependency issue. Either the dependencies need to be updated or the docs updated.
However, my converted diagrams have no text in them, so I perhaps I am missing a font. Any idea how to fix this?
On macOS if you run mermaid-filter with the MERMAID_FILTER_FORMAT environment variable set to "svg", you will get the error:
I ran
brew install librsvg
and that fixed the dependency issue. Either the dependencies need to be updated or the docs updated.However, my converted diagrams have no text in them, so I perhaps I am missing a font. Any idea how to fix this?