Formatting using Markdown
Markdown has become a common standard for formatting online text. Submitty allows simple formatting using markdown in several Click on the markdown symbol to enable formatting of your post using markdown.
-
Headings
Adding a number of#
and a space before text will make it a heading:# h1 ## h2 ### h3 #### h4 ##### h5 ###### h6
You can alternatively create heading like this:
Alt h1 ===== Alt h2 -----
-
Links
To add a hyperlink tourl
labeled withdisplay text
:[display text](url)
-
Italics
Adding_
(one underscore) or*
(one asterisk) before and after text will italicize that text. -
Bold
Adding__
(two underscores)**
(two asterisks) before and after text will make that text bold. -
Bold and Italics
Adding___
(three underscores)***
(three asterisks) before and after text will make that text bold and italic. -
Inline Code
Adding`
(a single backtick) before and after text will render that text in teletype / fixed-width type. This is useful for short, inlined code. -
Code Blocks
Adding```
(a triple backtick) on blank lines above and below text will turn it into a code block. You can also specify a language for syntax highlighting. For example:```c++ int main() { printf("hello world\n"); } ```
yields:
int main() { printf("hello world\n"); }
-
Lists
Adding*
or numbers (ex.1.
,2.
,3.
) followed by a space before text will create a bulleted or numbered list. You can indent further for sub-items in the list. For example:* Item 1 * Sub-Item 1 * Sub-Item 2 * Item 2 1. Item 1 2. Item 2 1. Sub-Item 1 2. Sub-Item 2 3. Item 3