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

Rendering of mermaid diagrams does not happen #379

Open
anolting opened this issue Aug 7, 2024 · 4 comments
Open

Rendering of mermaid diagrams does not happen #379

anolting opened this issue Aug 7, 2024 · 4 comments

Comments

@anolting
Copy link

anolting commented Aug 7, 2024

Any issue will be ignored if you don't provide the following detailed information.

Describe the bug

I have in installed the WP GITUBER plugin and started to create a now post. When I format the text area in which I would like to enter the mermaid code as code block, then on right side of the editor is only the mermaid code repeated and below, where the rendering should be shown, is nothing to see.

I have disabled all plugins I use which will porbably modfify the entered text in the editor.
The plugins I have disabled are:
Block Visibility
Code Block Pro
Create Block Theme
Customizer Export/Import
Easy SVG Support
SimpleTOC - Inhaltsverzeichnis Block

To reproduce

Steps to reproduce the behavior:

  1. Create a new Post
  2. click on Code Block and select Other language as syntax highlighting
  3. add the following mermaid example code:

mermaid
flowchart TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[fa:fa-car Car]

  1. See error

Expected behavior

the code to be render as graphic.

Screenshots

grafik

Server environment

  • WordPress version 6.6.1

  • WP Githuber MD plugin version 1.16.3

  • PHP version 8.2
    User environment

  • OS: Windows

  • Browser Firebox

Additional context

@anolting anolting changed the title Rendering of mermaid diagrams does hapen Rendering of mermaid diagrams does happen Aug 7, 2024
@anolting anolting changed the title Rendering of mermaid diagrams does happen Rendering of mermaid diagrams does not happen Aug 7, 2024
@anolting
Copy link
Author

my apologies, I forgot to point to the right mermaid installation.

@anolting anolting reopened this Aug 15, 2024
@anolting
Copy link
Author

apologies again, but I forgot to disable your wp-mermaid plugin which had rendered the imgae instead of githuber-md. so I have to reopen this issue as this plugin does not add mermaid as block.

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 2 days.

@github-actions github-actions bot added the stale label Oct 15, 2024
@anolting
Copy link
Author

Is this project still alive?

@github-actions github-actions bot removed the stale label Oct 16, 2024
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

1 participant