web-infra-dev / rspress

🦀💨 A fast Rspack-based static site generator.
https://rspress.dev
MIT License
1.46k stars 137 forks source link

fix: render inline markdown with generic syntax #1557

Closed Timeless0911 closed 2 weeks ago

Timeless0911 commented 2 weeks ago

Summary

closes: #1536

Related Issue

Checklist

netlify[bot] commented 2 weeks ago

Deploy Preview for aquamarine-blini-95325f ready!

Name Link
Latest commit c7d9dba9e224238013f70168f0e28da4e8e5923a
Latest deploy log https://app.netlify.com/sites/aquamarine-blini-95325f/deploys/672b1efd45bd490008c35015
Deploy Preview https://deploy-preview-1557--aquamarine-blini-95325f.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 86 (🔴 down 4 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

SoonIter commented 2 weeks ago

😄 we should unify the sidebar, title, TOC, render logic

Timeless0911 commented 2 weeks ago

If we use dangerouslySetInnerHTML, it forces users to write HTML entities &lt; instead of \< which is more common in mdx writing. And the sidebar / markdown headings in cotent / TOC render logic should be unified.