















<p>🚀 I made a smol ~2kb syntax highlighter that uses the CSS `::highlight()` API.</p><p>- About 2 KiB compressed <br />- No runtime dependencies <br />- Uses `::highlight()` not `<span>` <br />- Languages loaded on-demand <br />- Human readable CSS themes + light-dark() <br />- Editable code block support<br />- And a custom element for more features!</p><p><a href="https://davatron5000.github.io/microlighter/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">davatron5000.github.io/microli</span><span class="invisible">ghter/</span></a></p>
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。