xyhp915 / logseq-fenced-code-plus

A Logseq plugin for missing types of fenced code 🚀
MIT License
107 stars 17 forks source link

Fix the Markdown example; fix a typo #12

Closed kurtmckee closed 2 years ago

kurtmckee commented 2 years ago

In addition, indent the code block so it's a part of list item 3.

Markdown supports guarding a fenced code block with more than 3 backticks, which allows you to document Markdown code using Markdown code:

Old

Code

```mermaid graph LR Apples --> Bannana ```

Rendering

\`\`\`mermaid
graph LR
Apples --> Bannana
\`\`\`

New

Code

````markdown
```mermaid
graph LR
Apples --> Bananas

Rendering

```mermaid
graph LR
Apples --> Bananas