usememos / gomark

53 stars 6 forks source link

About the data copied from ChatGPT cannot be displayed in markdown #6

Open AnisJiang opened 1 month ago

AnisJiang commented 1 month ago

Describe the bug

About the data copied from ChatGPT cannot be displayed in markdown,I need to remove the space of the image below for it to be displayed

Steps to reproduce

image

image image

The version of Memos you're using.

0.22.5

Screenshots or additional context

No response

RoccoSmit commented 1 month ago

``` is for a block of code The block takes up the full width of the display container.

This means the ``` has to be the first characters on the line otherwise the preceding characters will prevent the code block from being able to take up the full width.

You'll see GitHub behaves the same requiring no spaces before as well otherwise the styling goes wrong

e.g.

 ```

Code block with preceding space not displaying in a block