Home Download Buy Blog Forum Support

Add new element to a language

Add new element to a language

Postby tpoisot on Thu May 09, 2013 6:26 pm


I'm using markdown and pandoc a lot to write academic papers. In pandoc, you have the possiblity of adding citations (using a bibtex file), with

Code: Select all

I'd really like that these keys appear differently in my document than plain text. As far as I know, I'll have to add something to the language file (here, markdown), then to the color theme? Is that correct?

Can someone point me to good references to do this kind of modifications?
Posts: 1
Joined: Thu May 09, 2013 6:20 pm
Location: QC, Canada

Re: Add new element to a language

Postby GeniusIsme on Fri May 17, 2013 12:53 pm


You should change *.tmLanguage file to accomplish your needs.
Possibly you won't want to change color theme.

Look here to find out about language file:http://manual.macromates.com/en/language_grammars.
Also you will need to write language file in plist, look at this forum about conversion.

Color theme files are quite self-explanatory after you deal with syntax. Again, its not nessesary to change them.
Posts: 5
Joined: Tue Nov 13, 2012 12:25 pm

Re: Add new element to a language

Postby zloutenka on Sat May 18, 2013 6:05 pm

Link used theme and language files. What scope does CTRL+SHIFT+ALT+P say?
Posts: 13
Joined: Mon May 07, 2012 12:44 pm

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 27 guests