ReText – Markdown Editor with Live Preview
sourceforge.net
sourceforge.net
If anyone is interested in making available their editor/working with me in implementing this solution then my humble startup could spare a few peanuts, please reach out to me(Python/flask backend, with PostgreSQL for persistence)
It's opensource and have export hooks!
By far the most elegant markdown editor I found.
I love Markdown and use it a lot, but do people really wonder what their headers and bullet lists are going to look like?
I like having a markdown preview available for the following reasons:
* I can quickly tell if I screwed up my whitespace
* I can experiment with features I'm unsure about (images with links)
I like having a markdown preview available for the following reasons:
* I can quickly tell if I screwed up my whitespace
* I can experiment with features I'm unsure about (images with links)In fairness to markdown, it probably isn't convention to break up a paragraph on different lines with the expectation that it will wrap.
I was surprised by the ambiguities and subtleties of markdown. I was surprised that Atom's markdown preview does not yet match the rendering on github.
Or consider some of the bug reports verses pope / vim-markdown:
* #60: inappopropriate italic: foo_<any non-alphanumeric character>bar
* #42: Bold links not being recognized
* #37: Incorrect processing of "_"
* #27: Ending an italic section with an escaped asterisk isn't parsed properly
After first authoring in vim, my preferred markdown editor with preview is http://pad.haroopress.com/ by @rhiokim (open source is promised). Scrolling synced between editor and preview is one of the killer feature.I found preview very useful when working recently on https://github.com/lloydde/sdc-1/blob/doc-coal-setup-rewrite...
Headers, tables, headers, blockquotes, code blocks, links, and footnotes can make text hard to read. Especially link syntax can hurt readability, even if you use [url] variables instead of the full (http) url; previews trim that away, although I'm slowly become broken inside enough to find Markdown tables easier to read than HTML renderings.
URLs, footnotes, and the big bad, tables of content, are the kind of set-and-forget stuff you'd probably rather prefer in a separate document or something.
But it's also worth keeping in mind that people use Markdown for very different things, and those who aren't writing extensive READMEs with tables, links, and a bunch of headers won't run into those problems; I love using Markdowns on forums, for instance, but I don't actually read those comments the same way I would an article or a README.
Previews are a little like fuzzy post-deploy tests for typos, poor phrasing, and syntax errors. :)
Word is far from my favorite document preparation system [1] (let's call it that), but it still has many advantages over markdown,
* Html rendering has no concept of pagination. Paginating naively from html (ie printing from a browser) makes ugly documents.
* Word has tools for managing references and bibliography generation
* Also automatic numbering and referencing of tables, figures, etc.
Those are just OTOH features I'd consider important for writing a high school history report or whatever. If this were word '97 we were talking about, I'd understand, but modern Word is a quite powerful tool.
I don't mean to bash or disrepect, just genuinely curious if you'd considered this or you had specific reasons for switching to markdown.
[1] I've really been liking LyX for the past years, but it might be a bit much for your typical high school student. I've been considering trying out an asciidoc -> docbook -> (latex -> pdf or straight docbook to html) workflow. Maybee ascii would interest you, similar plain-text formatting like md but more full featured.
Word works well for students' final work, but it seems to get in the way when students are building their understanding of a topic. I like that Markdown has enough formatting options to organize a document, but not so many options that people get lost in modifying fonts and font sizes, etc.
I'm curious to see if using Markdown while doing exploratory assignments would help students focus more on the information they're learning and documenting, rather than how the final document looks. I'd also like to expose students to a different approach to structuring documents; for many of them, they haven't used anything other than Word.
After all, isn't conventions like that for plain text writing how markdown emerged in the first place?
My students will need to print more of their work than I do, they'll want to work on their local filesystem most of the time, and they'll want to work on documents at home as well. I haven't followed the Markdown ecosystem well enough to know which tools to recommend to students and staff, so I appreciate hearing about new tools like the ones mentioned in this thread.
I had developed a few years ago a markdown editor with live preview, with a mechanism that synchronized the source and the preview, scroll-wise, so the preview would always display the part that was being edited.
It didn't take off (at all) so I let it go but I wish there would be a standardized way to do this; I'm surprised this problem isn't otherwise addressed, because it's a real problem for me.
I find it easier to write text, insert code and add images in a desktop tool and get live visual feedback, than doing it in the WP editor page, saving and refreshing the post.
More the merrier!
(Small disclaimer: I have never tested it on IE...)
https://github.com/lepture/editor
https://github.com/airpub/ninja
But nothing was perfect for my criterion. I hope your solution will become the one I've been looking for.
One concern is that it doesn't seem to support the ``` syntax, but the ~~~ syntax. Would that be possible to also support the former? Also, are you planning to conform to the CommonMark specification?
https://en.wikipedia.org/wiki/WYSIWYM
Both plain text editors (e.g. gedit) and word processors (e.g. LibreOffice Writer) frustrated me so this is perfect for my needs.
The ironic truth is that "responsive" design is a horribly late-to-the-party awareness of this, and often accomplished by tremendously convoluted design -- adding more complexity to systems in which less is preferred.
But yes, it's quite an epiphany when you finally get it.
Also the UI looks really complex compared to ReText. It looks good for people who write complex documents (e.g. math textbooks) though.
I have found the interface mostly intuitive myself (ymmv). It has absolutely no problem doing simple documents, quite the opposite actually, it makes it very simple.
Looking at the web page, I agree it does not make this very clear. The docs come as LyX documents packaged with the software, if you feel like having a look, install it and hit help > tutorial
Since it saves to Chrome local storage, wouldn't notes get synced along with other Chrome data?
https://github.com/mnemnion/marmalade
Lately I've been using babel in org-mode, it's a bit clunky, but it works. Metalanguages require really, really good tooling; the first project to solve the basic problems is likely to prove quite popular.
Note that while I used to think literate programming was cool, it's actually a subset of the kind of living programmable document which Babel can produce. I'm more impressed at the moment by the ways one can chain various languages together with the results of calling them.
If I had to jump out of my regular editor to write Markdown or reStructuredText, I probably wouldn't be using them.
Considering that, hasn't markdown (or one of its dialects) failed if someone feels motivated to use a dedicated editor for it? The side-by-side preview feels particularly ironic considering markdown's purpose, though I guess it is nice to have as a check that you didn't mess up closing a paren and other syntax-things.
I think this is exactly the purpose of having live preview, just like it's nice to have spell checker even for experienced writers. It's nice to know when something goes wrong immediately.
Also, Markdown's syntax spec, while relatively short, is not something people can memorize immediately, especially for syntax elements they don't use often.