Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image does not render when inside HTML tags #61

Closed
vaceal opened this issue May 16, 2024 · 1 comment · Fixed by #66
Closed

Image does not render when inside HTML tags #61

vaceal opened this issue May 16, 2024 · 1 comment · Fixed by #66

Comments

@vaceal
Copy link

vaceal commented May 16, 2024

Hello,

The following markdown file does not render kroki-mermaid diagram when inside the html tag, instead it displays the markdown image tag:

<details>
    <summary><u>Show Sequence diagram...</u></summary>
``kroki-mermaid
graph TD
    a --> b
``
</details>

``kroki-mermaid
graph TD
    a --> b
``

image

Should this be supported by the plugin?

@oniboni
Copy link
Collaborator

oniboni commented May 18, 2024

I would love to see this working too!

Sadly the markdown inside of html gets not reevaluated by mkdocs as we were expecting.
I've added a small quick and dirty fix, to prove this point.

#37 should be the way to go though.

@oniboni oniboni mentioned this issue May 18, 2024
3 tasks
@oniboni oniboni linked a pull request May 18, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants