Drip markdown~

Source: Internet
Author: User

You can use the plugin ~ minimalist Markdown Editor under Chrome, which is ~so easy~~~

Recently wrote the public number, Xiao Chun children's shoes recommended Markdown Editor ~ Yesterday chat probably understand under, today's system:

1. Markdown is neither a tool nor a programming language, but a lightweight "markup language" created by John Grouber (John Gruber) and Allen Swartz (Aaron Swartz). It allows people to write documents in plain text format and then convert them into valid XHTML (commonly used HTML) documents based on their markup.

2. There are at least two modes of writing software that support markdonw Grammar, one is writing mode and one is preview mode.

The preview mode parses the text and tags you write into the corresponding HTML, where the layout effect is rendered through the software's built-in CSS.

3. Syntax:

1) Title:

1This was an H1
2=============
3
4This was an H2
5-------------

Or

# This was an H1

# H2

###### this was an H6

Or

# This was an H1 #

# # This is an H2 # #

# # # This was an H3 ######

2) Sexy vertical divider: blockquotes

> This is a blockquote withThe paragraphs. Lorem ipsum dolor sit amet,
> consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
> Vestibulum enim wisi, Viverra nec, Fringillainch, Laoreet vitae, Risus.
>
> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
> ID sem consectetuer libero luctus adipiscing.

The effect is as follows (left code right effect):


Code block: (Whitespace processing.) )

> # # This is a header.
>
> 1. This is the first list item.
> 2. This is the second list item.
>
> here ' s some example code:
>
> Return shell_exec ("Echo $input | $markdown _script ");


The effect is as follows:

3) List: Lists

Unordered list:

* Red
* Green
* Blue

+ Red
+ Green
+ Blue

-Red
-Green
-Blue

Effect:


There are sequence tables:

No blank lines, number labels are not in order.

1. Bird
2. McHale
3. Parish
1. Bird
1. McHale
1. Parish

Effect:


Number label No order:

Bird.
1. McHale
8. Parish

Effect:

Unordered + other modules:

* A list item withA blockquote:

> This is a blockquote
> Inside a list item.

* A list item withA code block:

<code goes here>

Effect:


Escape characters:

1986. What a great season.

1986\. What a great season.


1986. What a great season.

1986. What a great season.

Effect:

4) Horizontal Separator

*       **

***

*****

- - -

---------------------------------------

5) Link One,

This is [an example] (http://example.com/"Title") inline link.

[This link] (http://example.net/) has no title attribute.

Effect:


Link Two

I get ten times more traffic from [Google] [1] than from
[Yahoo] [2] or [MSN] [3].

[1]: http://google.com/"Google"
[2]: http://search.yahoo.com/"Yahoo search"
[3]: http://search.msn.com/"MSN Search"


Effect:

6) Focus on emphasis

*single asterisks*

_single Underscores_

**Doubleasterisks**

__double underscores__

Effect:

The effect of the appearance of spaces on emphasis:

Un*frigging*believable
>
Un *frigging* believable
>
un* frigging *believable

Effect:


and escape character handling. Such as.

7) Code, code block

Code

Use the ' printf () 'function.

"There is a literal backtick (') here."

A single BacktickinchA code span: ""

A backtick-delimited StringinchA code span: ' foo '

Please don ' t use any ' <blink> ' tags.

'-' is the decimal-encoded equivalent of ' &mdash; '.

Effect:


code block

This is a normal paragraph:

This is a code block.


Here are an example of AppleScript:

Tell Application "Foo"
Beep
End Tell

Effect:

8) Image

! [Alt text] (/path/to/img.jpg)

! [Alt text] (/path/to/img.jpg "Optional title")


Effect:

9) Links:

//example.com/>

<[email protected]>

Effect:

10) escape character, still valid ~:

\*literal asterisks\*

\ Backslash
' Backtick
* Asterisk
_ Underscore
{} curly Braces
[] square brackets
() parentheses
# hash Mark
+ PLUS sign
-Minus sign (hyphen)
. Dot
! Exclamation mark


Effect:

*literal asterisks*

Drip markdown~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.