Skip to content

Bug: markdown_kroki is not compatible with plantuml_markdown #10

@nihalshah-dev

Description

@nihalshah-dev

Mermaid JS and Kroki are not compatible with each other. Kroki converts the diagrams to images (which makes a lot of sense for PDF) but Mermaid tries to create an SVG element. In HTML, Kroki removes the SVG features like links from Mermaid and tries to convert it to an image. Even if they render correctly, the features are missing. They should be interpreted as SVG elements and not SVG graphics imported as images. Just using it for PDF would be great, if possible?

configuration -

markdown_extensions:
  # https://github.com/mikitex70/plantuml-markdown
  plantuml_markdown:
    server: https://<xyz>.com/api/plantuml
    format: svg_inline
    remove_inline_svg_size: false
  # https://github.com/hkato/markdown-kroki
  markdown_kroki:
    kroki_url: https://<xyz>.com/api/kroki

any solution for this ? @hkato

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