Live data from Hacker News

Pandoc Markdown and ReST Compared (2013)

unexpected-vortices.com

11–20 of 27 posts

Re: Pandoc Markdown and ReST Compared (2013)

#11
i am in the process of releasing "zen markup language".

it's "lighter" than all the other light-markup languages.

it's more _powerful_ than the others, including asciidoc.

it's also far more agile, and much easier to understand.

and i won't allow it to be fragmented, like markdown is.

i've coded converters in javascript and other languages.

the javascript minimizes well for inclusion in web-pages.

i have cross-plat apps, and a web-app converter with a.p.i.

output formats include .html, .epub, .mobi, .pdf, and more.

if there's anything i haven't thought of, do please tell me.

you can reach me at my e-mail address given in my profile.

-bowerbird

Re: Pandoc Markdown and ReST Compared (2013)

#12

Am I the only one who feels like they were teleported back to the early 1990s upon seeing these text files with code intermingled everywhere? I am not bashing markdown and friends, as I understand there is a use for these tools in some cases, but I am surprised they are so widely embraced and loved. To me they just evoke the days of typing an essay on dad's 386 with Word Perfect 5.1 installed, and having to hit "reve…

The big gain is that is all just text and can be handled very well by the same version control system as the code is.

I can easily glance at what has happened to the docs just by looking at a diff, much like I do with all code my team produces already.

And being represented by all text doesn't mean this is what you give your customers. With a bit of work with pandoc etc. you can get a really slick and impressive end result.

Re: Pandoc Markdown and ReST Compared (2013)

#14
post #8
post #3

Earlier quoted context omitted.

I like ReST as well. With Sphinx, it is great for producing documentation. A project that I work with has converted hundreds of pages of books of technical documentation over to Sphinx and a custom Sphinx extension.

I like ReST as well. It's more powerful and looks much cleaner // e.g. how do you write footnotes in markdown? And how do you do this in markdown? +------------+------------+-----------+ | Header 1 | Header 2 | Header 3 | +============+============+===========+ | body row 1 | column 2 | column 3 | +------------+------------+-----------+ | body row 2 | Cells may span columns.| +------------+------------+-----------+ |…

Since basic Markdown is so basic, multiple incompatible flavours of Markdown have cropped up, including Pandoc-Markdown, which can do footnotes.

Re: Pandoc Markdown and ReST Compared (2013)

#15

Am I the only one who feels like they were teleported back to the early 1990s upon seeing these text files with code intermingled everywhere? I am not bashing markdown and friends, as I understand there is a use for these tools in some cases, but I am surprised they are so widely embraced and loved. To me they just evoke the days of typing an essay on dad's 386 with Word Perfect 5.1 installed, and having to hit "reve…

Most the tools we have for WYSIWYG document creation lacks determinism and portability. For the latter, one could argue that there are open formats, but still, there should be a program that can interpret the format; whereas with plain text, such a need is void, as it is possible to view the document on any decent system. For the former, the argument might be that the modern word processors provide the facilities to deterministically lay out a document through the user interfaces they sport, but then because the formats they save are either are endemic to themselves or badly supported in other software* this feature is not of much use.

I can open a Markdown/ReST/Textile/... file with any text editor, including Notepad, Vim, Emacs etc., and also view it through more or less programs, or just cat them. I can pass them through head or tail; search them with common utilities and even edit them with some others. I am not bound to any programs in order to edit my program. If, on a computer I have to use, there is no Word, or Writer or Pages, I can still edit/read the document. I can read it online, via a browser. I can use programs that are decades old, and I also will be able to read the file decades later. When I send the file to someone else, I can be sure that they will be able to read it. Any usable operating system has a text editor bundled. This level of portability is just a dream for WYSIWYG editors. For these advantaged, I happily trade editing convenience off.

* Last summer, my cousins needed to use my computer for editing a docx document that was important for their undergraduate education. I was running Ubuntu OS at the time, so I told them to use the LibreOffice's word processor. The experience was bad; the document did not render properly, editing was problematic. This is the only case I can provide as an example to support my argument, as it has been multiple years since I used a word processor program.

Re: Pandoc Markdown and ReST Compared (2013)

#16
post #4

Markdown has always looked limited and incomplete to me. But I can't decide between ReST(+Sphinx) and AsciiDoc(+?) - ReST seems to me like it was better thought out, but somehow my AsciiDoc documents turn out looking better, even though I like ReST more.

"Incomplete" depends on the application. Markdown is intentionally a small and simple language, so it's fine for e.g. comments, but too limited for e.g. a full documentation.

(and as a result, it's tended up to spring numerous incompatible extensions e.g. TFA talks about Pandoc Markdown which adds tables, footnotes and a bunch of other stuff, not "Original" Markdown).

> somehow my AsciiDoc documents turn out looking better

Maybe it's just the default style of the Asciidoc HTML renderer, something like that?

Re: Pandoc Markdown and ReST Compared (2013)

#17
post #2

The really nice thing about ReST is that it has provided generic syntax for extensions, one for inline text: :foo:`hello world` and for blocks: .. extension:: hello world In markdown, on the other hand, you have multiple, incompatible versions which have entirely different syntax because there is no generic extension mechanism. ReST feels more well thought-out, generally. That said, I've pretty much given up advocati…

> ReST feels more well thought-out, generally.

It's certainly set up for extensibility, although some areas are a pain (e.g. blank lines may be ignored entirely, change vertical spacing or change semantics, that can be annoying).

The toolchain is also fairly complex and very badly documented (Sphinx itself is better documented than docutils, but either way you end up wading through piles of code to understand what happens, why, and what's available in the applicative context of your extension)

Re: Pandoc Markdown and ReST Compared (2013)

#18
Pandoc and ReST are extensive, flexible, and simply complete. They are great. I have never understood the fetish behind Markdown and the cult-like fan-boyish approach to it. It was not needed. It would have been rather good to standardised an existing markup (or a combination of them) than copy the existing one and pretty much release it with a different name.

Re: Pandoc Markdown and ReST Compared (2013)

#19
The Markdown ecosystem reminds me of shell scripts in a bad way. There are a bunch of subtly and not so subtly different dialects and environments out there, and not many people have a strong awareness of these while writing, so if something seems okay "on my computer" or in Markdown's case "on my preview" then off it goes.

Re: Pandoc Markdown and ReST Compared (2013)

#20
Always wondered how Pandoc MD, ReST compare when my document type is slightly more complex, for example: a question and answer session?

I ended up entering notes from such sessions into handwritten XML, which I am reconsidering. What is a good format to store one's notes? I am transcribing from handwritten text.

Post reply on HN