The source code for this article can be found at https://github.com/waparc/firstsample/blob/main/sample.md
Headings
There are two options for header.
Either use underline (=
, -
) or hashtags (#
)
Header 1
========
Header 2
--------
# Header 1
## Header 2
### Header 3
#### Header 4
Linebreaks
To add a linebreak (<br/>
), the line must end with two spaces like:
This is the first line?[ ][ ]
And a second line
Bold
Bold text with asterisk **
This is a **bold** text.
Italics
Italics with underline _.
This is some _italics_ text.
Tables
Tables are created using pipes (|) and dashes (-), with colons (:)
Pipes |
are used for columns and dash -
to separate the header from the content.
Header | Header
-------|-------
Row | Row
For alignment :
is used
Tables resources
Links
Links can be represented in different ways.
Some link to
https://www.google.com[Google](
)
Lists
Unordered list
-
with a minus
+
with a plus
*
with an asterik
Numberred lists can be achived with
1.
Number one
2.
Number two
3.
Number three
Images
Images are similar to links but with an exclamation point in front.
![Text](Image path)
Code Syntax Highlighting
``` lang-js
function () { alert("JavaScript"); }
```
[TODO: Link to language reference]
Checkboxes
- [ ]
as a todo
This page is ![valid XHTML][checkmark].
[checkmark]: http://w3.org/Icons/valid-xhtml10
"What are you smiling at?"
Emoji
You can insert emojis as well with :smile:
for a smily for example.
A list of emojis can be found at
- Emojis List | 3os.org
- Complete list of Github emoji characters available in Github | gist.github.com/rxaviers
Sources:
- Markdown help | stackoverflow.com