sylhare / Type-on-Strap

🎨 Simplistic, responsive jekyll based open source theme
https://sylhare.github.io/Type-on-Strap/
MIT License
811 stars 901 forks source link

Markdown does not render some tags #464

Closed elishaadamu closed 2 months ago

elishaadamu commented 2 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior I expected the markdown engine to render all markdown writeups with ease, without selecting some tags

Screenshots Code sample

Screenshot 2024-08-28 230126

Rendered text

image

Additional context Add any other context about the problem here.

sylhare commented 2 months ago

@elishaadamu Since there's not a lot of information, I assume that the problem is coming from the formatting of the bullet points or numbered list. With Jekyll the markdown needs to be more strictly formatted:

Numbered list:
1. first
2. second
3. third
  - third and a half

Bullet points:
- bullet point
- other point
    - more points

This will be formatted as: image

There are some limitation but it should handle the rendering fine. It is not really a part of the theme itself as the rendering is done through the built in engine in jekyll: kramdown.