Closed Kaida-Amethyst closed 5 months ago
Astro 默认使用 Shiki 提供代码高亮,你可以切换到 Prism,参见 https://docs.astro.build/en/guides/markdown-content/#change-default-syntax-highlighting-mode
Prism 应该支持 llvm IR 和 asm https://prismjs.com/#supported-languages
Astro 默认使用 Shiki 提供代码高亮,你可以切换到 Prism,参见 https://docs.astro.build/en/guides/markdown-content/#change-default-syntax-highlighting-mode
Prism 应该支持 llvm IR 和 asm https://prismjs.com/#supported-languages
感谢哦 (^▽^)
我这边会写一些llvm IR还有assembly的代码,这个无法高亮,会提示The language "llvm" doesn't exist, falling back to "plaintext". 我想知道这个代码高亮是跟哪个文件相关?我琢磨下怎么改这个。
Think you~ ^^