AVATEAM-IT-SYSTEMHAUS / mkdocs-kroki-plugin

MkDocs plugin for Kroki-Diagrams
MIT License
42 stars 27 forks source link

Make the 'kroki-' prefix optional #5

Closed kenny-chow-my closed 2 years ago

kenny-chow-my commented 2 years ago

We have our Markdown rendered in 2 places: Gitlab Markdown preview and custom mkdocs website. Gitlab's implementation of diagrams in Markdown does not require the kroki- prefix. https://docs.gitlab.com/ee/administration/integration/kroki.html

Example:

    ```plantuml
    Bob -> Alice : hello
    Alice -> Bob : hi


To make the sites compatible, we would like to remove the `kroki-` prefix in the code block `kroki-plantuml`.  
kenny-chow-my commented 2 years ago

This PR seems to enable the functionality: https://github.com/AVATEAM-IT-SYSTEMHAUS/mkdocs-kroki-plugin/pull/4

b-bittner commented 2 years ago

Thanks for your request, somehow @oniboni was already implementing this (also bis Thanks!). So. PR #4 is submitted, so this issue can be closed.