A realistic implementation of various Markdown specifications as a flexible, drop-in alternative for language-gfm. Adds smart context-aware behavior to lists, and keyboard shortcuts for inline emphasis and links/images.
Note This package is no longer actively maintained.
Since the development of Atom seems to have slowed down, I've stopped using Atom as my primary editor, and consequently, this package. If you are interested in taking over maintenance, you can contact me via my Github profile. I intend to respond to new issues as best as I can.
Installation
Install language-markdown via either
your terminal: apm install language-markdown
the Atom GUI: Atom > Settings > Install > Search for language-markdown
Select language-markdown as your Markdown grammar. Open a Markdown file and
press ctrl+shift+L and choose "Markdown"
choose "Markdown" from the grammar selection interface in the bottom right-hand corner of the window
To avoid conflicts this package tries to disable the core package language-gfm. If you run into any issue, make sure you've selected the correct grammar.
Supported grammars
CommonMark Markdown
Github Flavored Markdown (including AtomDoc)
Markdown Extra
CriticMark annotation
Front Matter (yaml, toml and json)
R Markdown
Additional features
Smarter lists
Automatically create new list-items when pressing enter
Indent or outdent list-items by pressing tab or shift+tab
Toggle tasks with cmd+shift+x or ctrl+shift+x
Remove empty trailing list-items when pressing enter
Add shortcuts (via _, * and ~) for toggling inline-emphasis and strike-through on selected text
Add shortcuts for converting selected text to a link (via @) or an image (via !)
Supports embedded HTML- and Liquid-tags
Embedded math functions (via language-latex and language-mathematica)
Syntax-theme support
By default, most syntax-themes only provide basic styling for .markup classes. This package provides additional, more specific classes which are supported by the following syntax-themes:
请发表评论