Open main menu

Changes

197 bytes added ,  22:06, 2 March 2017
no edit summary
snippets.context['start'] = '\\start%1\n%0\n\\stop%1'
snippets.context['itemize'] = '\\startitemize\n\t%0\n\\stopitemize'
snippets.context['item'] = '\\startitem\n\t%0\n\\stopitem'
snippets.context['enumerate'] = '\\startenumerate\n\t%0\n\\stopenumerate'
snippets.context['chapter'] = '\\startchapter[title={%1},marking{%1}]\n%0\n\\stopchapter'
* '''Note''' that a backslash is created as you would type it in ConTeXt: typing a double backslash <code>\\</code> prints a single backslash <code>\</code>.
*The most important formatting commands are the following:
**<code>%0</code> creates a primary or a single input caret
**<code>%1</code> creates a secondary input caret
**<code>%n</code> creates a new line
**<code>%t</code> creates a tab
 
* After you added snippets, you have to restart Textadept first.
* Then you can use Alt + K (by default on Windows machines) to choose from the list of snippets, when a ConTeXt documents is open.
194

edits