[go: up one dir, main page]

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

Show mermaid diagrams in the exported file #376

Closed
niosus opened this issue Aug 14, 2022 · 2 comments
Closed

Show mermaid diagrams in the exported file #376

niosus opened this issue Aug 14, 2022 · 2 comments

Comments

@niosus
Copy link
niosus commented Aug 14, 2022

Version of Marp Tool

Marp for VS Code v2.2.1

Operating System

macOS

Environment

  • OS version: macOS Monterey 12.4
  • VS Code version (Marp for VS Code): VS Code 1.70

How to reproduce

Just create a simple "presentation" with mermaid div. This renders correctly in VSCode but when exported is not rendered. I might be missing something for sure but I would love to have a way to get it rendered at least in the HTML output from Marp.

Here is an example "presentation"

---
marp: true
---

<div class="mermaid">
flowchart LR
    A -->|Yes| B
    A -->|No| C
</div>

Expected behavior

The diagram should be rendered in the exported output from Marp

Actual behavior

The diagram is represented as jumbled text.

Additional information

Feel free to ask me anything if I can be of any help.

@niosus niosus added the bug Something isn't working label Aug 14, 2022
@yhatt yhatt removed the bug Something isn't working label Aug 14, 2022
@yhatt
Copy link
Member
yhatt commented Aug 14, 2022

@yhatt yhatt closed this as not planned Won't fix, can't repro, duplicate, stale Aug 14, 2022
@niosus
Copy link
Author
niosus commented Aug 16, 2022

Thanks and sorry for the noise! I missed those discussions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants