Atom and Markdown

Source: Internet
Author: User

Briefly

Atom is an open source cross-platform editor developed by GitHub, and Atom's power is comparable to the famous sublime text. Because I used sublime Text, I used atom to get started quickly. This article mainly introduces the use of atom to write Markdown.
Prior to the development of the project is the use of the. doc file as the carrier of the interface document, but in the use of the interface is not a good comparison of changes, if you use a. txt file, there is no eye-catching format. So, finally, we choose the syntax is simple, convenient comparison of Markdown to serve as the carrier of the interface document. Markdown's grammar does not introduce much, mainly introduces the writing and parsing Markdown Editor.

Editor's Choice

Any text editor can write markdown, but we expect to be able to instantly see the parsing effect when writing, making it easy to adjust the format.

Mac OS

Under Mac OS, I recommend MoU, simple and elegant interface, analytic smooth, perhaps no better.

Windows OS

Sublime Text: have markdown Preview plugin support, be able to view the compilation effect in the browser, but not real-time, need to be refreshed after the modification or, not convenient.
Mardown Pad: Able to write well and support previews. But the free version does not support the parsing of the table! The pro version can choose to parse the theme, such as GitHub, and whether it is possible to parse the table is unclear.
Atom: recommended . Built-in support for Markdown allows for easy parsing and previewing.

Using Atom Preview Markdown

1. Open any. md file (markdown source file)
2.
Windows :ctrl + shift + p
mac :command + shift + p
This command is the same as sublime text, open the command input box
3, Input markdown preview toggle (can be lazy only input mdpt , with sublime text as support fuzzy matching)
4. Press ENTER to see Preview, left Edit, Live preview on right.


Command Input Box


Preview Effect Atom plug-in installation

In fact, Markdown Preview is a plugin for atom, see the steps below:
1.
Windows :ctrl + shift + p
mac :command + shift + p
Open the Command input box and entersettings view view installed packages
2, in the Filter input box, write markdown , you can see.


Markdown Preview

Let me introduce a small plug-in to format the JSON data requested from the server pretty json .
Operation Steps:
1.
mac :ctrl + shift + p
Windows :command + shift + p
Open the Command input box settings view install packages and themes (you can also enter it simply install package )

2, in the search box input pretty json , click the Packages button, in the search results, click the Install button can be installed.


Search pretty json


The picture is the way I've installed it.
3, select a section of the JSON downloaded from the server, such as

{"result":{"error":0,"type":2000},"sync":{"newdata":null,"lastver":"0","newnum":"0"}}

4.
Windows :ctrl + shift + p
mac :command + shift + p
Open the Command input box to enterpretty json prettify


Input pretty json prettify


5, click OK, you can


Result conclusion

Atom has more plugins to make our work easier, and we should be good at using tools to improve efficiency.

Original link: http://www.jianshu.com/p/ad3e737e5dc2

Atom and Markdown

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.