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
- bold
Ctrl + B
- italics
Ctrl + I
- quote
Ctrl + Q
- insert link
Ctrl + L
- insert code
Ctrl + K
- insert picture
Ctrl + G
- boost title
Ctrl + H
- ordered list
Ctrl + O
- unordered list
Ctrl + U
- horizontal line
Ctrl + R
- revoke
Ctrl + Z
- redo
Ctrl + 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 ) !∀n∈N C ( n ) = ( n − 1 ) ! ∀ n ∈ N .
- Block-level formula:
For more LaTex syntax, please refer to here .
UML diagrams:
Sequence diagrams can be rendered:
or flow chart:
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
- Currently, this editor has the most complete support for Chrome browser. We recommend that you use a newer version of Chrome.
- IE9 and below do not support
- IE9, 10, 11 have the following problems
- Does not support offline functionality
- IE9 does not support file import and export
- IE10 does not support drag and drop file import
- Here is the content of the footnote . ↩