118 points · by BKCandace · 12y ago · 51 comments
Stored locally or on DB/GDrive, latex support, and a very complete product. The interface is a little unintuitive at first, but I highly suggest anyone that writes blog posts in markdown to check it out.
http://research.microsoft.com/en-us/um/people/daan/madoko/do...
From the reference:
> Instead of a plethora of backends, Madoko concentrates on generating either HTML or high-quality PDF files through LaTeX. There has been a lot of effort in Madoko to make the LaTeX generation robust and customizable while integrating well with the various academic document- and bibliography styles. This makes it possible to write articles using just Madoko and get both a high-quality print format (PDF) and a great looking HTML page.
Yes, I realize there's other themes, but they're terrible too. I find light text on a dark background fine for code, but terrible for writing prose.
For a good Markdown editor, I recommend Mou. It's been my choice for a while now. http://mouapp.com
Well, it is to me. I can't stand too much contrast, it hurts my eyes.
Ensure that you're editing the right flavor file, and restart ST for good measure.
I write Markdown every day. I use it to take notes, to write blog posts, write documents, everything. In fact, because of Pandoc (and a little bit of LaTex), every document I've written in the last year and a half I have written using Markdown. Through all of that writing, I've never used any kind of special editor or highlighting, just a plain text-editor.
Now I have about 30 more pages of Markdown I've got to write today.
You definitely don't need a markdown specific editor, but I don't see a problem with using one if it makes writing md more efficient.
I've already created an Atom package that runs that on save:
* this* isn't any easier than <i>this</i> to me.
Of course, I may be biased.
first, it's one character, as opposed to three or four. and, as you get into longer tags, like "em" or "strong", so grows the amount of excess typing you'll need to do. (i won't mention "blockquote", but you know that i could!)
second, it's the _same_ on both sides, not different. and there's no question about the direction of a slash, which is not intuitive to people who don't code .html.
third, let us recall that some structures, like lists, need internal "li/li" tag-pairs on each individual item, as well as the "ul/ul" tag-pair located on the outside.
fourth, all the brackets/tags are intrusive when editing. your mind has to "look past" the markup to see the text, and those distractions make writing more difficult than it already is, and there's no reason to put up with that.
fifth, the distraction gets even worse if you want to have curly-quotes, because there's crap like “this”; and let’s all agree we don’t need that garbage!
sixth, .html can get downright complicated, very quickly. can you tell me how "pre", "code", and "keyboard" differ? probably not, not just off the top of your head, anyway... and what's the abbreviation tag again? i always forget it.
and seventh, you mean i have to put a "p" tag on _every_ paragraph? _every_ one? can't it just do _that_ for me? it's pretty obvious that blank line means "new paragraph". i mean, seriously, sometimes computers are _so_stupid!_
so, um, yeah, actually, light-markup is a _lot_ easier.
still... if _you_ prefer to write in .html, be my guest!
but me? well, i've got way more important things to do.
-bowerbird
Now there's no character to type for italics, you highlight what you want in italics, and push the button. Or type Control-I. <i> and </i> magically appear. Pretty soon, you might even learn what they mean.
A "make bullet" or "make numbered" list button. An indent/unindent button. Much like GMail Compose or Google Drive.
Most of the time, people don't bother with even Markup. All those asterisks and double-asterisks. Many people just post links, rather than that paren / brace stuff like on Reddit.
Yes, HTML can get downright complicated. The vast majority of the time, people don't even Markup.
As for p tags, the site could have white-space: pre-wrap style applied to all comments. Boom.
And again, markup is nice and all. So is Notepad. But I like HTML, and I like IDEs.
And to be clear, I'm not saying a site would allow all HTML tags (that would be suicide with the first <script>), but would whitelist them. Then, there's no CPU time to render Markup into HTML. So, there's that.
My point is, what you're trying to accomplish with markdown is just as easy to accomplish with good old-fashioned HTML.
If you want nice CSS, define it and tell your users how to use it.
Rather than running everything through markdown, run it through an XHTML whitelist.
You don't write an entire page in markdown, generally - you just write a fragment. So, let me write an HTML fragment, and you can wrap it with the headers you need to.
You cannot expect users to know HTML and CSS to comment on your website.
For instance typing two "*" or 5 "<>/" are a completely different experience on an iPad for instance. For a sublime text plugin it seems irrelevant, but if you edit your files in different environments it's a boon.
It's also a lot more parseable and sanitizable than html, and doesn't need much escaping when moved around.
...OK, an exaggeration. But it's much simpler than HTML. If people input with HTML then you're going to need to filter which tags you do and don't want to pass through. Markdown just gets rid of stuff like that. Not to mention automatic paragraphing.
I don't know. Everybody knows HTML. It's pretty easy.
> If people input with HTML then you're going to need to filter which tags you do and don't want to pass through.
That's a solved problem¹²³.
> Markdown just gets rid of stuff like that.
And you can only use a subset of HTML. I guess there are pros and cons.
> Not to mention automatic paragraphing.
<p>...</p>
¹https://code.google.com/p/owasp-java-html-sanitizer/Little things like <em> or <i>, and browsers being very tolerant of appalling HTML, mean that a lot of people only sort of know HTML.
I do wosh that BBCode or Markdown had better standards.
With HTML it's obvious that the plain text is an intermediate representation that always expects to be further interpreted.
bold, _italic_. Underlining is only used by typewriters or for links and is barbaric and should be avoided for almost all other uses.
https://github.com/go-gl/glfw3/commit/c48f1acb53fec41115b731...
Markdown was and is for html moms. Whereas, I would often type <h2>heading</h2> in the .doc files. never-mind.