[Favorites] Welcome to CSDN-markdown editor

Welcome to Blogging with Markdown Editor

This Markdown editor is modified using StackEdit , using it to write a blog will bring a new experience:

  • Markdown and Extended Markdown's Clean Syntax
  • code block highlighting
  • Image link and image upload
  • LaTex math formula
  • UML Sequence Diagrams and Flowcharts
  • blogging offline
  • Import and export Markdown files
  • Abundant shortcut keys

hot key

  • boldCtrl + B
  • italicsCtrl + I
  • quoteCtrl + Q
  • insert linkCtrl + L
  • insert codeCtrl + K
  • insert pictureCtrl + G
  • boost titleCtrl + H
  • ordered listCtrl + O
  • unordered listCtrl + U
  • horizontal lineCtrl + R
  • revokeCtrl + Z
  • redoCtrl + Y

Markdown and extensions

Markdown is a lightweight markup language that allows people to write documents in an easy-to-read and write plain text format, and then convert them into richly formatted HTML pages. - [Wikipedia]

Use simple symbols to identify different headings, make certain text bold or italic , create a link , etc. Detailed syntax reference help? .

This editor supports Markdown Extra , which extends many useful functions. Please refer to Github for details .

sheet

Markdown Extra table syntax:

project price
Computer $1600
Phone $12
Pipe $1

Alignment can be defined using a colon:

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

definition list

Markdown Extra  definition list syntax: Item 1 Item 2
Definition A
Definition B
Item 3
Definition C

definition D.

Define D content

code block

Code block syntax follows standard markdown 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'''

footnote

Generate a footnote 1 .

Table of contents

Use [TOC]to generate the directory:

Mathematical formula

Use MathJax to render LaTex math equations, see math.stackexchange.com for details .

  • Inline formula, the mathematical formula is: C ( n ) = ( n 1 ) !nN C ( n ) = ( n − 1 ) ! ∀ n ∈ N .
  • Block-level formula:

x=b±b24th c _2a _ x = − b ± b 2 − 4 a c 2 a

For more LaTex syntax, please refer to here .

UML diagrams:

Sequence diagrams can be rendered:

Created with Raphaël 2.1.2 张三 张三 李四 李四 嘿,小四儿, 写博客了没? 李四愣了一下,说: 忙得吐血,哪有时间写。

or flow chart:

Created with Raphaël 2.1.2 开始 我的操作 确认? 结束 yes no
  • For sequence diagram syntax, refer here ,
  • For flowchart syntax, refer here .

blogging offline

Even if the user does not have a network, they can also write a blog offline through this editor (directly enter write.blog.csdn.net/mdeditor in the browser that has been used. The Markdown editor uses the offline storage of the browser to save The content is saved locally.

When a user writes a blog, the content is saved in the browser cache in real time, and the content will not be lost when the user closes the browser or other abnormal conditions. When the user opens the browser again, the unpublished content that the user was editing last time will be displayed.

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

user can chooseSave the blog you are writing to the server draft box, even if you change the browser or clear the cache, the content will not be lost.

Note: Although browser storage is relatively reliable most of the time, for your data security, please be sure to publish or save to the draft box of the server in time after connecting to the Internet .

browser compatible

  1. Currently, this editor has the most complete support for Chrome browser. We recommend that you use a newer version of Chrome.
  2. IE9 and below do not support
  3. IE9, 10, 11 have the following problems
    1. Does not support offline functionality
    2. IE9 does not support file import and export
    3. IE10 does not support drag and drop file import


  1. Here is the content of the footnote .

Guess you like

Origin blog.csdn.net/keaihuilang/article/details/81234619