Difference between revisions of "User:Esteis/Cheat sheet"
Jump to navigation
Jump to search
(Add code to link directly to a category.) |
m (Add 'how to run as mkiv') |
||
Line 18: | Line 18: | ||
text in between + result | text in between + result | ||
| <code><nowiki><context source="yes" text="bla">...</context></nowiki></code> | | <code><nowiki><context source="yes" text="bla">...</context></nowiki></code> | ||
+ | |- | ||
+ | | To run the code as mkiv | ||
+ | | <code><nowiki><context mode=mkiv>...</context></nowiki></code> | ||
|} | |} | ||
− | + | To linkify a command you should use the the template form, because the tags don't create a working link. |
Revision as of 08:25, 23 May 2012
Categorize a command | [[Category:Commands/subcat|the_command]]
|
Link directly to a category page: | [[:Category:Commands/subcat|Subcat]]
|
Linkify a command (template) | {{cmd|the_command}}
|
Linkify a command (tags) (deprecated) | <cmd>the_command</cmd>
|
Syntax-highlighted code (not run) | <texcode>...</texcode>
|
Syntax-highlighted code +
text in between + result |
<context source="yes" text="bla">...</context>
|
To run the code as mkiv | <context mode=mkiv>...</context>
|
To linkify a command you should use the the template form, because the tags don't create a working link.