SoFunction
Updated on 2025-03-10

About implementing code syntax brightening

Haha, because until now, BLOG uses LBS, and I feel that I lack many functions I like to use. This time I finally made up my mind to write the BLOG program by myself. In order to be compatible with previous BLOG, the format of content storage will remain consistent with LBS.
Because there are more code stickers in my BLOG, I will consider using JS to achieve the syntax brightening effect of code.
I have seen it before, but I have not studied it in depth-_-
I plan to add code highlighting function to the new BLOG, so I will study it carefully during this period:)

Reference address:/syntaxhighlighter/
is a free JavaScript tool for source code syntax highlighting.

The script is meant to help a developer to post code snippets online with ease and without having to worry about applying format. People who use blogs like MovableType, .Text (dotText), dasBlog and any other system can easily add code to their posts.

If you are looking to get syntax highlighter for your blog, give a try!

Demo address:
/codelab/SyntaxHighlighter_1.4.1/