Yes, in mix help docs:
:javascript_config_path- Path of an additional JavaScript file to be
included on all pages to provide up-to-date data for features like the
version dropdown - See the “Additional JavaScript config” section. Example:
"../versions.js"
So you can write script that will process Mermaid blocks in your documentation on the FE side. Alternatively you can write use options/custom wrapper for the Markdown parser, so you will be able to statically generate images basing on the returned data.






















