Markdown is a simple, useful markup language for text. It has very simple format annotations. The editor at stackoverflow.com uses Markdown. Markdown requires less meta characters to do the formatting and the meta data does not confuse the original text, which is better than HTML.
Headings of different levels
Heading should start with # and followed by a space at the begining of each heading title.
# Heading 1 ## Heading 2 ### Heading 3 #### Heading 4 ##### Heading 5
This translates to HTML tags H1 to H5. You can visualize it at this page
Text Links
The syntax for Hyper Links in Markdown is
[Text](Link)
For example [UploadBETA](https://uploadbeta.com) becomes UPLOADBETA. It is worth mentioning that Markdown does not support target=_blank, and alt attributes for the hyper links.
If you want to insert a picture, you just have to add the exclamation mark at the front, e.g.
![Image ALT](Image Address)
For example ![This image is NSFW](https://uploadbeta.com/share-image/2eb)
becomes: Here.
The ALT can be specified inside the square brackets as shown above.
Another type of links can be created in the following format:
[Link Text][Reference] [Reference]: URL
For example, (if it is a image, you add the exclamation mark as well).
![NSFW][Beauties] [Beauties]: https://uploadbeta.com/share-image/2eb
Becomes Here:
Font Types: Bold, Italics, Strike
**Bold**
*Italics* underscores work fine _Italics_
~~Strike~~
**_Bold and Italics_**
引用
> Quoted paragraph starts with > this wraps the text in the HTML tag Blockquote
List
1. List1 - Sub List 2. List2 - Sub List 3. List3 1. Sub List 2. Sub List
Becomes
- List1
- Sub List
- List2
- Sub List
- List3
- Sub List
- Sub List
You can also use * and a space to get the list as well:
* Milk * Egg * Fish * Butter
Becomes:
- Mik
- Egg
- Fish
- Butter
Hard Breaks
1 2 3
is rendered as 1 2 3
If you want a hard break, you just need to add an extra empty line:
1 2 3
Becomes
1 2 3
You can add > to quote multiple paragraphs
> Quote Paragraph 1
> Quote Paragraph 2
Conclusion
Markdown is simple. It can be easily rendered to PDF or HTML. You can edit the article easily using your smart phones…
A what-you-see-is-what-you-get online Markdown editor/formatter is provided here : https://helloacm.com/markdown/ with API available = https://helloacm.com/api/markdown/?s=Mark+Down
loading...
Last Post: Algorithms to Check if Integer is a Power of Three
Next Post: How to retrieve Hard Drive Serial Number using Scripts (PowerShell + VBScript + Javascript) ?