This package will not work for Atom versions 1.13 and higher. It is deprecated in favor of document-outline.
Adds tools to make working with long form markdown documents in Atom easier.
# Header Oneis followed by
### Header Threeinstead of
## Header Two, the outline displays Header Three as if it is Header Two. However, Header Three is colored whatever color your theme uses for caution. (Mine's orange.)
Markdown Document: Refreshstill exists, I believe the command is largely unnecessary as refresh is now triggered by the save event. Please let me know if this is not the case for you. Otherwise, this command will be discontinued in the next release.
Note: Although markdown does not require sequential headers, the outline generator needs at least one first level header. After that, non-sequential headers will be moved up to the next closest level.
Continue writing content here. See if it still fires.
At present, autosave is only available for markdown files when the outline view is visible. It is not available for non-markdown files. Autosave may become its own package in the future or become available outside the outline view. Please weigh in on Issue 1.
You can find and trigger features in:
Packages -> Markdown Document.
apm install markdown-document.
When autosave is enabled, the whitespace package automatically deletes the return after headers while you're typing. Markdown-document uses remarkable and a minor fork of markdown-toc. Remarkable is designed for the commonmark syntax, not gfm. It seems to work fine with gfm, but it hasn't been extensively tested.
The whitespace package does not play well with language-markdown. See Issue 115 for further information and a possible workaround. I personally dislike the whitespace package and prefer everything remain exactly as I typed it so it's disabled on my machine. Please let me know should this be an issue.
Go to Settings (
ctrl-,) -> Packages ->
Markdown Document -> Settings.
Enable Autosave to enable the autosaver.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.