Markdown Syntax
This article shows some useful and daily-driver type syntax, that I may use daily. First, right after heading, one example , followed by it’s syntax. I won’t explain though 😅.
To learn in detail and easily, you may use following references,
and of course, there is GitHub wiki. I don’t think I need to mention this. 😅
Text formatting
List
|
|
- text
- text
|
|
- text
- text
- text
- text
- text
(Above code) +/- doesn’t matter here!
For numbered list, it’s not this much easy, you’ve to manually write 1, 2, 3 like this one,
- hello
- welcome to my
- website
Emphasis
|
|
emphasis
emphasis
Bold
|
|
bold
bold
Italic
|
|
italic
italic
Strikethrough
|
|
strike
Heading
|
|
Horizontal lines
|
|
Blockquotes
|
|
hello this is a Blockquote
this is a nested Blockquote
Got it?
Task List
|
|
- this task is incomplete
- this task is completed
Inline Code
|
|
code can be in any language
along with text
Indented Code
Indented= putting some lines before a line, used in programming, right? Here we’ve to use at least 4 space 🧐, though I don’t know the reason 😄.
|
|
<pre>
Yo! This is a test to write
forward slash = /
backward slash = \
</pre>
Block Fenced Code
|
|
|
|
Fun Fact ⛱️
I used cpp
after first ``` to enable syntax highlighting for c++. Same can be used for javascript (js), markdown (md) or any other languages.
Table
|
|
Left align | Center align | Right align |
---|---|---|
Fist column, First row | Second column, First row | Third column, First row |
First column, Second row | Second column, Second row | Third column, Second row |
First column, Third row | Second column, Third row | Third column, Third row |
:
, just ---
) will center align the first row. Second onwards will be using left align!Links and ancors
|
|
My telegram account (Hover over it - desktop PC)
Table of contents
|
|
Table of Contents
Footnotes
|
|
This is a footnote 1
This is an another footnote with label 2
Images 🔮
|
|
Comments Syntax
|
|
Maybe Ctrl + / will do the trick 😅
So how will you you view my comment?
- let us know in the comment section 🕹