Astro Starlight
Things about Astro Starlight fixes
Markdown not rendering properly
Debug thought:
- Check page itself (Developer tool), find out exactly where is broken
- For example, after find where using
li
ul
elements, find the style, and find which folder they come from, and find that file! - For example :
<div class="sl-markdown-content" data-astro-source-file="/home/j/projects/digital-debris/node_modules/@astrojs/starlight/components/MarkdownContent.astro" data-astro-source-loc="6:35">
- For example, after find where using
- Locate the exact file, ask AI to suggest exact what to put back, for example here we need to make bullet point work:
.sl-markdown-content ul, .sl-markdown-content ol { list-style: disc !important; padding-left: 20px !important;}
Configuration
- update nodejs