View source for Re: 如何制作一个新的高亮格式化(比如新的编程语言)?

You can use one of the existing libaries like GeSHI, HighlightJs, the PEAR Highlighter or the class for Pascal in the formatter folder and modify it.