JunoLab / Weave.jl

Scientific reports/literate programming for Julia
http://weavejl.mpastell.com
MIT License
821 stars 94 forks source link

[FR] I cannot switch line for one bullet of a list #452

Closed Zou-Bo closed 2 years ago

Zou-Bo commented 2 years ago

description

I am making a list with the code below:

  1. abcd
  2. efghijlklmno pqrstuvwx
  3. yz

The second thing is a long paragraph so I switch to a new line in my jmd file and I am anticipating the whole thing would be recognized as the second bullet of the list. But the rendering result is that only the first line after "2." is recognized and the line afterward is treated as normal paragraphs and not included in the list.

Here's my jmd file in vs code:

image

And here's the HTML output:

image

I wonder if there's a way to write the things for one bullet in several lines and the package can treat them as one bullet, and automatically switch lines at appropriate places in output HTML like normal paragraphs.

Zou-Bo commented 2 years ago

image

I know I can do it in this way, but it will look so stupid if it is a really long paragraph, especially when compared to other paragraphs that I can freely switch lines when writting.

Zou-Bo commented 2 years ago

Maybe I will just use auto "word wrap"(Alt+Z) view mode in VS Code while writing.