Open IcyFeather233 opened 7 months ago
@IcyFeather233 Cool, this feature is really good. I started a brief analysis to implement this improvement, if you want to help you can also open a pull request. I will use a library called highlightjs.
Hi @FernandoCelmer the highlight isn't working properly, I think it should call hljs.highlightAll()
instead of hljs.initHighlightingOnLoad()
according to the highlightjs README
Describe the feature
Simple code syntax highlighting, just as most of technical blogs.
Use Case
Currently, all code blocks are in black and white. As a minimalist blog, it seems necessary to have a simple syntax highlighting setting. I hope it can be made into an option, so that those who need it can enable syntax highlighting, while those who don't need it can continue to keep their code blocks in black and white.
Proposed Solution
No response
Other Information
No response
Acknowledgements
SDK version used
Any
Environment details (OS name and version, etc.)
Any