CSDN editor simple to use - turn

Welcome to the Markdown editor to write blog

This Markdown Editor StackEdit modified from using it to blog, will bring new experience oh:

  • Markdown and Markdown extensions concise syntax
  • Highlight code block
  • Image links and upload pictures
  • LaTex mathematical formula
  • UML sequence diagrams and flowcharts
  • Write blog offline
  • Import and export Markdown files
  • Rich shortcuts

hot key

  • Bold Ctrl + B
  • Italic Ctrl + I
  • Quote Ctrl + Q
  • Insert link Ctrl + L
  • Insert code Ctrl + K
  • Insert Picture Ctrl + G
  • Lift title Ctrl + H
  • Ordered list Ctrl + O
  • Unordered list Ctrl + U
  • Horizontal line Ctrl + R
  • Undo Ctrl + Z
  • Redo Ctrl + Y

Markdown and expansion

Markdown is a lightweight markup language that allows people to write documents using easy to read and write plain text format, and then converted into richly formatted HTML page. - [Wikipedia]

Simple to use different symbols to identify the title, some text will be marked as bold or italic , create a link , etc., detailed reference grammar help? .

This editor supports Markdown Extra , extended a lot of useful features. Refer to Github .

form

Markdown Extra table syntax:

project price
Computer $1600
Phone $12
Pipe $1

Colon may be used to define the alignment:

project price Quantity
Computer 1600 yuan 5
Phone 12 yuan 12
Pipe 1 Yuan 234

### definition list

Markdown Extra defined list syntax:
Item 1
Item 2
: Definition A
: Definition B

Item 3

Definition of C

The definition of D

D-defined content

Block

Markdown syntax follows the standard block code, for example:

@requires_authorization
def somefunc(param1='', param2=0):
    '''A docstring'''
    if param1 > param2: # interesting
        print 'Greater'
    return (param2 - param1 + 1) or None
class SomeClass:
    pass
>>> message = '''interpreter
... prompt'''

Footnotes ###
generates a footnote 1 .

table of Contents

Use [TOC]to generate the table of contents:

Mathematical formula

Use MathJax rendering LaTex mathematical formulas, see math.stackexchange.com .

  • Inline formula, math formula is: C ( n ) = ( n 1 ) ! n N \Gamma(n) = (n-1)!\quad\forall n\in\mathbb N
  • Block-level formula:

x = b ± b 2 4 a c 2 a x = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}

More LaTex syntax please refer to here .

UML 图:

You can render sequence diagram:

张三 李四 嘿,小四儿, 写博客了没? 李四愣了一下,说 忙得吐血,哪有时间写。 张三 李四

Or Flowchart:

Created with Raphaël 2.2.0 开始 我的操作 确认? 结束 yes no
  • About Sequence FIG syntax, reference here ,
  • About flowchart syntax, reference here .

Write blog offline

Even users without a network conditions, can also be written off by the blog editor (direct input in've ever used a browser write.blog.csdn.net/mdeditor can. Markdown editor using the browser offline storage content stored locally.

Process users write a blog, the content in real-time saved in the browser cache, the user closes the browser or other unusual circumstances, the content is not lost. When users open the browser again, it will display the contents of the last user is editing is not published.

After the blog was published, the local cache will be deleted.

The user can select Save the server is writing a blog to Drafts, or even change the browser to clear the cache contents are not lost.

** Note: ** Although the browser to store most of the time are more reliable, but in order to secure your data, after the network, be sure to promptly published or saved to the server drafts .

## browser compatibility

  1. At present, the editor of the Chrome browser supports the most complete. We recommend using a newer version of Chrome.
  2. IE9 does not support the following
  3. There is a problem IE9,10,11
    1. Does not support offline
    2. IE9 does not support file import and export
    3. IE10 does not support drag and drop file import


  1. Here is the footnote of content . ↩︎

Published 23 original articles · won praise 4 · Views 9986

Guess you like

Origin blog.csdn.net/hxp1994/article/details/78495611