What is Markdown?(What is, Concept and Definition)

Markdown is a markup language that can be used to format plain text.Formatted text can be converted to another language, such as HTML.


Markdown was developed by John Gruber and Aaron Swartz, and first released in 2004.Today, all major blogging platforms support Markdown, and many platforms offer modified versions of Markdown.For example, GitHub supports GFM (GitHub Flavored Markdown), which more clearly defines the use of characters and whitespace, and includes special extensions to include GitHub features.


Markdown Quick Reference


Section headings


headings are indicated by a one-line prefix with one to six hash marks ( # ).The resulting text corresponds to HTML entities

a.

It is suggested to include a blank line before a heading, but it is not mandatory.

# Title 1 ## Title 2 ### Title 3 #### Title 4 #### # Title 5 ###### Title 6

In many Markdown renderings, Header 1 is centered by default.


H1 and H2 can also be indicated by a line, immediately after the header text, which contains only equal signs (=) or hyphens (-), respectively.

Title 1===Title 2---

Emphasis and strikethrough


Emphasis (italic text) is indicated by surrounding the text with simple asterisks ( * text * ), or underscores ( _ text _ ).


Strong emphasis (bold text) is indicated by surrounding the text with double asterisks ( ** text ** ), or with underscores ( __ text __ ).


Strikethrough text (text with a horizontal line through the center) is indicated by surrounding the text with two tildes ( ~~ text ~~ ).


Emphasis can be combined and overlapped.

* This entire line will be in italics.* The word ** hope ** in this sentence will be in bold.The last word in this sentence is displayed as ~~ strikethrough ~~.In this sentence, ** some texts are in bold **, some are in italics, and __ * some are in bold and in italics * __.

Lists


Ordered lists are indicated by starting a line with a number and a period.Ordered sublists are indented by at least one space.The numbers used do not matter; if they are numbers, the list will be sorted automatically.


Unordered lists are indicated with asterisks ( * ), plus ( + ), or less (-), rather than numbers and a point.


Ordered and unordered lists can be mixed, and either one is a sublist of the other.


Paragraphs can be included as list items if they are preceded by a blank line and preceded by a line break.To skip the line break, add two spaces to the end of the previous line.

1.First element of the ordered list.2.Second element of the ordered list.1.First ordered sublist element.2.Second ordered sublist element.3.Third element of the ordered list.* First messy sublist item.* Second unordered sublist element.A paragraph within the second messy sublist element.* First item in the unordered list.1.First ordered sublist element.-This is also a messy list item.+ So is this.

Links


Hyperlinks are indicated by surrounding the link text in parentheses, followed immediately by the URL in parentheses.

[Definition and Concept] (https://www.computerhope.com/)

Code


The code (eg fragment of a computer program) is indicated by surrounding the text with quotation marks ( ` text ` ).It is printed on a monospaced font, with syntax highlighting, if supported by the platform.


Multiple lines of code are indicated by a line containing only three backticks, both before and after the code block.Optionally, you can include the name of the programming language after the first three backticks, to specify the type of highlighting syntax.

Here, the `print (" Hello, World! ")` code is monospaced, with syntax highlighting, if supported by the platform.The same is true for the following code blocks: `` `javascript a=" Hello, world! "; console.log (a); `` `` `` basic 10 PRINT "HELLO WORLD!" 20 GOTO 10 ''

Images


Images are indicated by an exclamation point at the beginning of a line, followed by alternate text (when passing) in parentheses, followed by the image URL.


! [Alternate text] (https://www.computerhope.com/logo.gif)

Comments