TCL syntax highlighting - Confluence

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!

 

1 answer

1 accepted

1 vote
Accepted answer
Joe Clark Atlassian Team Mar 18, 2015

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.  

 

 

This worked great, thank you!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,099 views 17 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you