Welcome to blogging with the Markdown editor
This Markdown editor is modified with StackEdit , and writing blogs with it will bring a new experience:
- Markdown and extended Markdown concise syntax
- code block highlighting
- Image link and image upload
- LaTex math formulas
- UML sequence diagrams and flowcharts
- Blogging offline
- Import and export Markdown files
- Rich 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 a plain text format that is easy to read and write, which is then converted into richly formatted HTML pages. - [Wikipedia]
Use simple symbols to identify different headings, mark certain text as bold or italic , create a link , etc. See help for detailed syntax? .
This editor supports Markdown Extra , extending 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 colons:
project | price | quantity |
---|---|---|
Computer | 1600 yuan | 5 |
Phone | $12 | 12 |
Pipe | 1 Yuan | 234 |
Definition list
- Markdown Extra defines 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 .
content
Use [TOC]
to generate the directory:
Mathematical formula
Render LaTex math equations with MathJax, see math.stackexchange.com for details .
- Inline formula, the mathematical formula is: 。
- Block level formula:
More LaTex syntax can be found here .
UML php:
Sequence diagrams can be rendered:
Or flow chart:
Blogging offline
Even if users do not have a network, they can write blogs offline through this editor (just enter write.blog.csdn.net/mdeditor in the browser they have used before . The Markdown editor uses the browser offline storage to store The content is saved locally.
When a user writes a blog, the content is stored in the browser cache in real time, and the content will not be lost when the user closes the browser or in other abnormal situations. When the user opens the browser again, the unpublished content that the user was editing last time is displayed.
After the blog is published, the local cache will be deleted.
User can chooseSave the blog you are writing to the server draft, even if you change the browser or clear the cache, the content will not be lost.
Note: Although browser storage is reliable most of the time, for your data security, please be sure to publish it in time or save it to the server draft box after connecting to the Internet .
Browser Compatible
- At present, this editor has the most complete support for the Chrome browser. We recommend that you use a newer version of Chrome.
- IE9 and below are not supported
- IE9, 10, 11 have the following problems
- Offline functionality is not supported
- IE9 does not support file import and export
- IE10 does not support drag and drop file import
- Here are the footnotes . ↩