vnotex / vnote

A pleasant note-taking platform.
https://app.vnote.fun
GNU Lesser General Public License v3.0
11.63k stars 1.21k forks source link

[Graphviz Preview] Can not preview Graphviz following a list element #2489

Open NeoVerto opened 2 months ago

NeoVerto commented 2 months ago

Describe the bug It can not preview graphviz on editing mode when the code block following a list element (whatever the element is ordered or unordered).

To Reproduce Steps to reproduce the behavior:

  1. Create a list element
- Here is an unordered list element
  1. then create the graphviz block following the element
- Here is an unordered list element

  ```graphviz
  digraph G {
      G
  }

Expected behavior

The preview of graphviz block is supposed to be shown.

Screenshots

image image image

Desktop (please complete the following information):