Welcome to the CSDN-markdown Editor, csdn-markdown
Welcome to blog with Markdown Editor
This Markdown editor uses StackEdit to modify it. using it to write a blog will bring a new experience:
- Markdown and extended Markdown concise syntax
- Code block highlighting
- Image links and image uploads
- LaTexMathematical formula
- UML sequence diagram and Flowchart
- Write a blog offline
- Import and export a Markdown File
- Rich shortcut keys
Shortcut Key
- Bold
Ctrl + B
- Italics
Ctrl + I
- Reference
Ctrl + Q
- Insert Link
Ctrl + L
- Insert Code
Ctrl + K
- Insert Image
Ctrl + G
- Raise 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 in easy-to-read and easy-to-write plain text formats and then convert them into HTML pages with rich formats. -- [Wikipedia]
Use a simple symbol to mark different headersBoldOrItalicsCreate a link. For more information about the syntax, see help ?.
This Editor supportsMarkdown Extra. For details, refer to Github.
Table
Markdown ExtraTable Syntax:
Project |
Price |
Computer |
$1600 |
Phone |
$12 |
Pipe |
$1 |
You can use colons to define alignment:
Project |
Price |
Quantity |
Computer |
$1600 |
5 |
Phone |
12 yuan |
12 |
Pipe |
1 RMB |
234 |
Definition list
-
Markdown ExtraDefinition list Syntax:
-
Project 1
-
Project 2
-
Define
-
Define B
-
Project 3
-
Define C
-
Define D
Define D content
Code block
The code block syntax follows the standard markdown code, for example:
@requires_authorizationdef somefunc(param1='', param2=0): '''A docstring''' if param1 > param2: # interesting print 'Greater' return (param2 - param1 + 1) or Noneclass SomeClass: pass>>> message = '''interpreter... prompt'''
Footer
Generate a footer. 1.
Directory
Use[TOC]
To generate a directory:
- Welcome to blog with Markdown Editor
- Shortcut Key
- Markdown and Expansion
- Table
- Definition list
- Code block
- Footer
- Directory
- Mathematical formula
- UML diagram
- Write a blog offline
- Browser compatibility
Mathematical formula
Use MathJax for renderingLaTexFor more information about mathematical formulas, see math.stackexchange.com.
- The formula in the row. The mathematical formula is: Gamma (n) = (n −1 )! Limit nε n .
- Block level formula:
X = −b± b2 −4ac −−−−−−−−√ 2a
For more LaTex syntax, refer to here.
UML diagram:
You can render sequence diagrams:
Created with Rapha rjl 2.1.2 Zhang San Zhang San Li Si Li Si Hey, son, do you want to write a blog? Li Siwei paused and said: I am so busy that I have time to write.
Or flowchart:
Created with Rapha rjl 2.1.2 Start My operations OK? End Yes No
- AboutSequence DiagramSyntax, refer to here,
- AboutFlowchartSyntax, refer to here.
Write a blog offline
Even if you do not have a network, you can use this editor to write a blog offline (enter write.blog.csdn.net/mdeditordirectly in a browser you have used.Markdown EditorUse the browser to offline store the content locally.
When a user writes a blog, the content is stored in the browser cache in real time. If the user closes the browser or other exceptions, the content will not be lost. When the user opens the browser again, it will display the Last edited content that has not been published by the user.
After a blog is published, the local cache will be deleted.
You can selectSave the blog you are writing to the server draft box. The content will not be lost even if you change the browser or clear the cache.
Note:Although browser storage is reliable most of the time, for your data security,Be sure to post or save it to the server draft box in time.
Browser compatibility