Closed lzkelley closed 8 years ago
Uh...as far as I know, markdown preview only works for markdown files. Was that not historically true? Did it used to be able to preview restructuredtext as well?
Markdown preview shouldn't be able to preview reStructuredText files at all. Any attempt to do so would treat the .rst
file as though it were an .md
file.
Without this package, markdown preview works fine for .rst. Obviously they have different specifications, but with significant overlap in simple files (e.g. simple README files) --- and for many purposes they can be satisfied simultaneously (e.g. some discussion here). It doesn't seem obvious to me this convenience should be prevented, if it's simple to maintain. I'm guessing the markdown preview package works on things it recognized as .md
and things that it doesn't recognize as explicitly other languages (hence working, until restructuredtext
is defined). If that's true, then it would probably involve a change to the markdown-preview package instead of this one; I don't know, I don't develop atom packages. Just thought I'd ask.
The only thing this package does is define syntax highlighting and snippets for reStructuredText, which are by no means invasive to the rest of the program's functionality. If there's a shortcoming to be addressed, chances are it's within the domain of the markdown-preview
package.
Great; so what I just said.
Is there a way to let these two packages work together to preview
.rst
files?Thanks
Atom Version: 1.9.0-beta0 System: Mac OS X 10.11.2
Config
Installed Packages