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

Escape three backticks with mermaid in code block #3

Open
liaosankai opened this issue Jan 8, 2019 · 0 comments
Open

Escape three backticks with mermaid in code block #3

liaosankai opened this issue Jan 8, 2019 · 0 comments

Comments

@liaosankai
Copy link

I want describe how to use mermaid in hexo, I write this in my markdown file

~~~
```mermaid
graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
```
~~~

preview and get seems problem result as

<pre class="mermaid">graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;</pre>

I try write this one with another language

~~~
```php
<?php
    echo phpinfo();
```
~~~

preview and get working result:

```php
<?php
    echo phpinfo();
```

I'm not sure hexo or plugin which side is wrong.

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