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

Mermaid charts convert to text on live reload until page refresh #194

Open
tuurep opened this issue Dec 9, 2024 · 0 comments · May be fixed by #197
Open

Mermaid charts convert to text on live reload until page refresh #194

tuurep opened this issue Dec 9, 2024 · 0 comments · May be fixed by #197
Labels
type:bug Something isn't working

Comments

@tuurep
Copy link
Collaborator

tuurep commented Dec 9, 2024

Description

On live reload (i.e. modifying the mermaid code block) it gets rendered as a regular markdown code block instead of a Mermaid chart.

To Reproduce

Have a document such as

```mermaid
flowchart LR
    A[foo]-->B[bar]
```

which renders as (screenshot):

image

Start editing the mermaid block, such as

```mermaid
flowchart LR
    A[foo]-->B[bar]
    B-->C
```

It renders as this (screenshot):

image

until manual page refresh:

image

Context

  • Firefox 133.0
  • Arch Linux
  • vivify-git (AUR)
    • vivify-server v0.6.3.r0.g5d07d16-1-aur
@tuurep tuurep added the type:bug Something isn't working label Dec 9, 2024
jannis-baum added a commit that referenced this issue Dec 17, 2024
jannis-baum added a commit that referenced this issue Dec 17, 2024
jannis-baum added a commit that referenced this issue Dec 17, 2024
jannis-baum added a commit that referenced this issue Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant