Hi,
Anyone know how I can add TCL syntax highlighting to the Code Macro in Confluence?
Ideally, I would like to install a TCL language file when configuring the Code Macro.
Thanks for any help!
Hi @lazy boy!
The Code Macro for Confluence uses the open source syntaxhighlighter library. There are many language files for this library out there on the Internet - here's a blog post that summarizes some of them: http://www.undermyhat.org/blog/2009/09/list-of-brushes-syntaxhighligher/ I did a quick google search and I found a TCL language file that somebody's written: https://gist.github.com/henix/2851521
If you trust this language file and its license conditions are acceptable for you to use, you can go into Confluence admin and go to the "Configure Code Macro" section, and then there's an option to upload a new language file.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.