Difference between revisions of "Syntax help"
ajloveslily (talk | contribs) (Fixed formatting(for some reason code doesnt escape control stuff')) |
(If anyone knows how to type monospace or new lines without paragraphing, amend (not revert) this edit.) |
||
Line 1: | Line 1: | ||
− | + | To mark something as: | |
+ | |||
+ | ''Italic'' use: | ||
+ | <nowiki> ''Italic'' </nowiki> | ||
'''Bold''' use: | '''Bold''' use: | ||
− | <nowiki>''' Bold '''</nowiki> | + | <nowiki>'''Bold'''</nowiki> |
− | + | These are repeated apostrophes, not double quotation marks. | |
− | |||
<ins>Underlined</ins> use: | <ins>Underlined</ins> use: | ||
− | <nowiki> <ins> Underlined </ins> </nowiki> | + | <nowiki> <ins>Underlined</ins> </nowiki> |
− | |||
− | |||
− | |||
− | |||
To use code text (unformatted) use: | To use code text (unformatted) use: | ||
Line 29: | Line 27: | ||
} | } | ||
</code> | </code> | ||
− | |||
− | |||
− |
Latest revision as of 07:06, 20 April 2023
To mark something as:
Italic use: ''Italic''
Bold use: '''Bold'''
These are repeated apostrophes, not double quotation marks.
Underlined use: <ins>Underlined</ins>
To use code text (unformatted) use: <code>
You can use syntax highlighting, like in code editors, using:
<code language>
Example:
#include <iostream>
int main()
{
printf("Syntax highlighting");
return 0;
}