-
The margin of ul/ol>li (and all other elements) doesn't looks as expected. while check the css of ul/ol and li , they are looks right: But when I select the text, there seems a line-break after each li elements and all other elements: How should I solve this problem? And what i did was just simple: marked.parse(#the markdown content#) and the content is: | Displayed on screen 🖥️
| /dɪˈspleɪbt ɒn skriːn/
| verb
**Definition:** To show or make something visible on a computer, television, or other electronic device's screen.
**Example sentences:**
1. The presentation was displayed on the big screen for everyone to see. 📊🖥️
2. She clicked on the video link, and it started displaying on her phone screen. 📱🎥
3. The website has been updated, and the new design is now displayed on screen. 💻🎨 Thanks a lot :) |
Beta Was this translation helpful? Give feedback.
Answered by
joisun
Dec 9, 2024
Replies: 1 comment 5 replies
-
My guess is that it is your css that adds the margin. marked does not provide css. It looks fine in the demo |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I finally foundout the point, I add a style for the continer
whitespace-break-spaces
which has been inheritted.Thanks a lot !