Current Articles | RSS Feed RSS Feed

Inserting Syntax Highlighted Code Snippets in Tickets, Wikis & More

Posted by adam feber on Wed, Oct 23, 2013

Last month we released a new Snippets tool that allows you to easily create syntax highlighted code snippets to share with team members. While the tool has been widely accepted, many users asked for the ability to insert these code snippets inline with wiki pages, tickets, messages, etc. We listened and just released this updated functionality. Here is how it works:

Create the snippet and copy the markup reference (see below).

snippet markup3

Paste the markup reference into any wiki page, ticket description, ticket comment, merge request comment, message, etc.

describe the image

Save and your snippet will now show inline. Any changes to the main snippet will reflect wher ever it is embedded.

describe the image

If you do not have the Snippets tool installed, check out the release announcement for instructions on how to install it. 

We hope you enjoy this new feature. Happy coding!



Very nice. Good job!

posted @ Wednesday, November 06, 2013 4:07 AM by Test

balle balle

posted @ Wednesday, November 06, 2013 7:57 AM by User

GJ, but i need Highlight code in the wiki pages too

posted @ Wednesday, November 06, 2013 10:06 PM by Bimawa

This is great but putting the code inline within a post would be less cumbersome. Even if putting it inline stored it in the snippets tool that would be fine. Having to go to the snippets tool to create a snippet, then go back and reference that snippet is a bad workflow, IMHO.

posted @ Thursday, November 07, 2013 8:45 AM by Clint

Comments have been closed for this article.

Follow Assembla

twitter facebook youtube linkedin googleplus

Subscribe by Email

Your email: