Skip to content

Render Mermaid in local #103

Description

@piranna

https://github.com/Texarkanine/jekyll-mermaid-prebuild allows to render Mermaid in local, without needing to use mermaid.ink, that has given me problems recently. Only problem is that it requires the mmdc executable installed, that's a Node.js one. The same way we have prebuild mode and if it fails fallback to just provide the URL, we can add a local mode that's checked first, and if mmdc is not available, fallback on mermaid.ink.

My experience with Ruby is limited, but I can create a small PR with the help of Codex, so it can be reviewed and merged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions