Say Yes to Markdown, No to MS Word
medium.com
medium.com
Now, the benefits of Markdown listed in the article are all true -- but also only loosely tied to the UX of the actual document authors and editors. If Markdown supports your formatting needs, sure, it is a good storage syntax for your content, fine. But don't make attorneys, policy writers, etc., use it. I'm not saying MS Word is the only answer either, but I highly recommend that people find/modify/create a more robust editor for your authors.
Coding such a system isn't always ideal. There are a plethora of edge cases to deal with, encoding/decoding the spacial characters, and you often create lots of extra markup for advanced features. It won't win any awards for elegance. But from a purely functional perspective of does it do the job... yes, HTML works.
1) Everyone uses it. You get documents from co-counsel, and you can flip on track changes and send some comments. Track changes is better than version control (for legal documents). Word shows you what you just deleted, so you can be sure you haven't changed the meaning without intending to. And co-counsel doesn't use git so sending diffs around is of limited utility.
2) Typesetting is built-in. Yes, this is one thing that's terrible about Word and great about LaTeX. Separation of content and presentation is good. Except when it's not. Word is, for the most part, WYSIWYG. That means I can tweak my hyphenation or kerning as I go, and when I print to PDF 5 minutes before the brief is due to the printer (as in dead trees), I can be pretty sure what it'll look like. LaTeX lets you control that too, but the "production" step is often longer.
3) Speaking of formatting: legal documents, and often other business documents, aren't just mechanical. For something like an appellate brief in an important case, thousands of people might read it (and its enshrined immutable in the public record for posterity). The content is the most important thing, but they also have to look nice. Markdown, as far as I can tell, gives you very little control over typesetting.
Word is, from an intellectual perspective, a mish-mash of awful ideas. But it's a really good tool for quickly producing documents that are bear a passable resemblance to a properly typeset book page. (Which is the gold standard--briefs for the Supreme Court until very recently were often typeset using a hot-metal press.)
To be honest I only use Word to view requirements docs. I thought keming was on a per-font basis and that's it. But if Word lets you tweak it that's pretty cool.
http://www.ironicsans.com/2008/02/idea_a_new_typography_term...
It not just a misspelling, it's a relevant misspelling to the meaning of the word.
Parallel might be another example - are there others?
Welcome to the comments!
Also, I would challenge your idea that the changes tracking feature is even remotely comparable to real revision control.
"Everyone uses it" is the best argument.
I know you file a document, but the public record is the content, and increasingly access to content is not done in the form the content was originally created.
In my opinion it shouldn't "look nice" but should comply with a standardised format (which hopefully has reasonable aesthetic qualities) which was developed by an field-experienced document design specialist.
PDF is a presentation format, not a content format.
If I were designing a court document system from scratch, I’d still use PDF, and not for lack of imagination. It’s incredibly powerful technology. I actually ran into this while looking for comprehensive note taking solutions for my legal practice. A lot of modern web-based tools don’t embrace PDF, and they’re toys as a result. I can’t scrawl notes on a deposition transcript? I have to handle key evidentiary documents as second-class attachments? Useless. I settled on an iPad Pro (great PDF markup support) and emailing myself files to my Exchange account.
> 1) Everyone uses it. You get documents from co-counsel, and you can flip on track changes and send some comments. Track changes is better than version control (for legal documents). Word shows you what you just deleted, so you can be sure you haven't changed the meaning without intending to. And co-counsel doesn't use git so sending diffs around is of limited utility.
Not everyone. I do not, like many others. First, it's expensive; second, it's not 100% available. It came very late to the www world. Moreover, it might be a good tool for legal writing, but it is horrid for code typesetting or for maintaining a bibliography. Finally, it handles very badly very large documents.
On the versioning side, one thing I loved about Latex was the ability to comment and uncomment entire sections of the documents, which is AFAIK absent in Word.
> 2) Typesetting is built-in. Yes, this is one thing that's terrible about Word and great about LaTeX. Separation of content and presentation is good. Except when it's not. Word is, for the most part, WYSIWYG. That means I can tweak my hyphenation or kerning as I go, and when I print to PDF 5 minutes before the brief is due to the printer (as in dead trees), I can be pretty sure what it'll look like. LaTeX lets you control that too, but the "production" step is often longer.
Why would you make manual tweaks to the typesetting? This sounds like a nightmare when you have to maintain many of these manual typesetting hacks. I remember I spend a lot of time skimming long documents to check that a new line didn't break the document a few pages later.
> 3) Speaking of formatting: legal documents, and often other business documents, aren't just mechanical. For something like an appellate brief in an important case, thousands of people might read it (and its enshrined immutable in the public record for posterity). The content is the most important thing, but they also have to look nice. Markdown, as far as I can tell, gives you very little control over typesetting.
To my knowledge PDFs generated by markdown are pretty decent. Maybe they are a bit boring and they all look alike, but I can't say they are ugly. But, again, this only is a personal opinion.
My personal idea is that Word is a bad software on which people who can't really use computers created suboptimal processes. Of course, we (the developers community) can't really expect that one is capable of writing his own css to have a nice typesetting or to mentally parse formatting tags to image what the output might be.
The practice of high-end law is, to an unreasonable degree, about typesetting and formatting. You pay your lawyers to sweat the local judges’ preferences for margins and Arabic numerals; I’ve seen five lawyers quibbling about curly quotes and footnote placement. And the law says the lawyer is, ultimately, responsible for getting this right - the typesetting part of the brief is the practice of law, just as much as developing the legal argument.
As much as possible, I do my drafting in markdown, to separate content from typesetting. If I don’t, I find typesetting can eat up an unreasonable proportion of the overall time.
But the sooner the courts figure out a way to format the lawyers’ text according to the courts’ own preference(s), the better. Style sheets aren’t quite there, but we’re close.
As to the other stuff, polish and consistency are more important. In my opinion, there's a good reason why courts place so much weight on that. Judges are in a weird spot--they need to sweat the details, but don't have the time to put every brief under a microscope. So they need to trust you, but develop heuristics to decide when they can't trust you. The big one is misquoting things. If the judge notices a couple of instances where you say a case says one thing, but the case says something else, your brief will get put under a microscope. Polish is another heuristic. If you can't be bothered to spend the relatively small amount of time it takes to make sure your footnotes are formatted consistently, why should the judge assume that you've thoroughly researched the law and the record and that she can trust that it says what you say it says?
Of course, like most heuristics, it's a statistical inference rather than a logical one--like holding it against someone for showing up late to an interview. They could be reliable, but it's reasonable to think they might not be.
Akin to the brown-M&Ms clause in the Van Halen contract technical appendix [0].
California central district wants 14 points, with line numbers. Arizona district wants 13 points, no line numbers. The 7th Circuit's typography recommendations say Times New Roman might as well be Comic Sans. The Supreme Court italicizes case names differently. Massachusetts state court wants 1.5" margins on two sides. Wisconsin wants 1.5" on just the left.
Templates help, as does Butterick's Typography for Lawyers, and a good checklist. But it's still a slog to internalize all the local customs in a multi-state practice.
And yes, these are heuristics to identify locals and repeat players, which might be helpful to courts. But, again, that's a separate skill from legal reasoning, and it comes at a high cost for clients.
Not everyone uses Word. It doesn't run on Linux.
Word might be useful for legal docs or other specific purposes, but I wouldn't assume that everyone will be able to use all of the functionality in a Word doc.
For journo stuff, hypothetical deity help me, MS Word is my editor of choice. Mainly for the outliner -- it's the _only_ mainstream wordprocessor that still includes outline mode, which I find indispensable.
I mainly use Word 97 -- not the rest of Office, just a standalone copy of Word. It runs perfectly on WINE under Ubuntu. The service releases installed fine. It runs with full access to the host filesystem, cut-and-paste, file associations, the lot. And run on hardware a decade newer than it was written for, it is blisteringly fast.
For a project last year, I had to temporarily move to a newer version -- Word 2003. That needed Crossover Office to install properly, but it too works perfectly and supports widescreens and 1080P monitors in portrait resolution just fine.
Yep, you can do any of this in LaTeX—but it’s just much harder, and generally works best with pre-set templates, not so much when you have to make small stylistic tweaks at the last minute without spending an hour debugging.
I do agree that coders think the world is like them - wanting to memorize and master markdown syntax and git commands. But, reality has no tolerance for such chicken shit. If markdown+git can be packaged in an easy to use app, easy enough for a 5 year old, it stands a chance
But Markdown doesn't compete with Word, really at all. There's no strong reason to frame them as opposites or to suggest that one can replace the other. Word is an editor, and Markdown is a spec. Word is wysiwyg, and Markdown is not. Word is built to handle large and complex documents with complex formatting and references, Markdown is (primarily) made for lightweight use to create simple web pages.
Word is simultaneously an horrific beast and a beautiful program, but the list of features Word has that Markdown doesn't support is probably 2-3 orders of magnitude larger than the list of features Markdown even has. Word can do everything Markdown can do, but not the other way around, even if you allow for arbitrary HTML (which is cheating).
I'm all for Markdown when it's appropriate, and while I try to avoid Word for simple text documents, there are absolutely times that it's called for. Definitely learn Markdown. And then use the right tool for the job.
I'd say the big difference between word processors (Word, LibreOffice, etc) and Markdown (or LaTeX) is that word processors are the IDEs of writing. They provide an environment and tools for not just entering your text and formatting it, but also tools for helping you create your content and manage it and work on it collaboratively.
> Word is simultaneously an horrific beast and a beautiful program, but the list of features Word has that Markdown doesn't support is probably 2-3 orders of magnitude larger than the list of features Markdown even has. Word can do everything Markdown can do, but not the other way around, even if you allow for arbitrary HTML (which is cheating)
The amazing thing about Word (more so in earlier editions...it's not quite as good at this currently) is that they tossed in nearly everything that any given user needs, which resulted in a bazillion features since different users need different things, but somehow managed to make it so that you can mostly ignore the features you do not need.
Usually the kitchen sink approach results in a program that is totally unusable by nearly everyone.
Is it even possible to create such a spec and not end up re-creating Latex?
reStructuredText has strong official support for extensions, including regular syntaxes in the language for using extension points consistently. That power alone makes it suitable for a lot of domain-specific documents, which is why IMNSHO a lot of the better software documentation is in reStructuredText rather than Markdown.
[1] Don't forget that for Markdown the only "official" spec for that name is a blog post and a Perl script. CommonMark is very well specified now, but is A) surprisingly quite recent despite the proliferation of Markdown usage, and B) technically a forked specification and "not official" and not allowed to use the name "Markdown" by the original author/developer.
But when I'm including code in a doc I much rather prefer rsT, because I can specify the code type so the syntax highlighter doesn't have to guess about the language.
This is the one I used for years, I believe:
https://www.vim.org/scripts/script.php?script_id=973
Looks like several people recommend this script:
One thing I will give Word credit for, despite all my qualms with it, is that it's probably the only program that I can blindly paste something from my clipboard and expect that Word will render it reasonably well.
You know MS products are pretty bad when the best one expects is that content cut from another owned product renders "reasonably well". We should expect, demand, that windows clipboard integrate perfectly with Word.
Which is funny, because going the other direction (copying from Word then pasting elsewhere) seems to guarantee _interesting_ output. Mangled quotes being the most famous example.
However, whenever I have to print something, there is pretty much just one possibility in Markdown: export as pdf. And export as pdf uses Latex. Latex is cool. But if you want to customize your document, you will sooner or later need to include latex headers into the "build" process of your file, and soon you have a clusterfuck of tooling and a make file for a document that was supposed to be a simple report. And then I'd rather write it in Latex.
Does anybody have a solution for this? Some kind of print-friendly Markdown-to-PDF workflow? All the non-Latex alternatives looked horrible. In fact, I sometimes export markdown documents to Word just to print them.
[0]: https://developer.mozilla.org/en-US/docs/Web/CSS/page-break-...
1) I have cmark installed
2) https://github.com/nathanl/.dotfiles/blob/master/bin/md_prev... is a script to render STDIN to HTML and slap the output into the middle of a template that has some basic CSS (https://github.com/nathanl/.dotfiles/blob/master/bin/md_prev...)
3) I write markdown in Vim and use keybindings to say "now output HTML from this buffer" - https://github.com/nathanl/.dotfiles/blob/ede8c98a7897ee07b7...
I like this mainly because it lets me use Vim, which for me is the most efficient tool for wrangling text. I also like avoiding WISYWIG programs that I previously fought with - eg, trying to get Word to understand which bullet points I wanted nested under which other ones was frustrating, but with markdown (and embedded HTML when necessary) I can be 100% explicit.
Sometimes I copy-paste the resulting HTML into Google Docs or elsewhere and do further tweaks, but most of the time it's enough for me as-is.
> Madoko is a fast markdown processor for writing professional articles, books, manuals, webpages and presentations, with a focus on simplicity and plain text readability.
> With Madoko you can write complex documents completely in markdown and get beautiful PDF and HTML output.
"Madoko = LATEX x Markd"
1. auto-generating table of contents
2. easy table creation/manipulation
3. header/footer and page numbering
4. comments/edits (maybe integrated with git?)
It's unrealistic to expect non-technical people to learn LaTeX, so we're stuck with MS Word until someone makes an amazing Markdown editor that can handle these things.
Also what would help this is that the Markdown was standardized and would have these features included out-of-the-box.
There is technically a standard Markdown dialect called CommonMark. The main problem with it is that its specification is example-driven and there's lots of places where things are up for interpretation, but for the most part it achieves its goal. What it really needs is standardization of extensions like tables, diagrams, etc.
[1]: https://marketplace.visualstudio.com/items?itemName=yzane.ma...
[0] https://www.gnu.org/software/emacs/emacs-paper.html#SEC29
Part of me says this is job security for software developers. The other part of me saw non-programmers try to use Excel as a layout/desktop publishing/vector graphics tool.
But seriously, if you know how to program and you do literally anything else, then you become a developer. It's the cushiest job with the highest pay.
The other reason it will never happen is because the developer's job isn't to make the office worker more efficient (that's Microsoft's job, so I suppose some developer does it, just not all developers). The developer's job is to increase efficiency. Either internal efficiency, or external efficiency. And that means: jobs will be lost.
Rather than training office workers how to program and have them leave for a developer job, it's better to just pay developers and have them automate an entire class of office workers' jobs.
Hopefully all developers get the opportunity to witness internal efficiency planning. Most developers are disconnected from the process. But to actually meet the people you're going to eliminate with software in a month or two is truly something.
[0]: https://github.com/lloeki/tilt-pdf
† The tool should be open-sourced as soon as we can clean up the code of hardcoded internal stuff. It'll appear over there: https://github.com/adhoc-gti/makebook
†† Contemplating moving to headless Chrome. Also, increasingly using Hugo for online documentation.
I would strongly recommend looking at weasyprint (http://weasyprint.org/ ) for HTML to PDF. It gives much better PDF output and offers CSS print support, so you get page control.
It's not perfect, but it's very similar in concept to Markdown, has several adaptations to make the md->adoc transition easier, and is much more feature-rich, thanks to being based on Docbook (which is used for creating much more complicated documents than Markdown historically has been).
Now we do the documents in AsciiDoc, and track everything in an internal Github repository using pull requests. The diffs are clean and are actually easier to read: you can comment, you can immediately see where the changes are, and everyone is focused on changes in content rather than getting distracted by font and spacing choices. Once N people out of M have approved the pull request, I can merge it into the master and then publish it into a clean, readable PDF with an auto-generated table of contents, page numbers, footers, and the like.
Now, if someone were to invent a WYSIWYG app for Asciidoc, that would be awesome, but this seems to be working a whole heck of a lot better than the previous Word-based method.
Just wanted to share it again, as it became my favorite Markdown editor for university or sometimes work.
When it comes to the written word, the world of legitimate, needed use cases is HUGE. The word processor is the natural evolutionary response to this need: A complex hodge podge of features and ways to visualize the content you're creating.
You can tell that this article was written by an engineer because he's willing the world to fit into his neat and tidy box. It completely ignores the needs of most other industries. Were markdown to become the new standard, it wouldn't take long for a thousand ISO specs and extensions to come into being, until finally markdown is as complex as SOAP, and people go back to using Word.
PS: What's wrong with markdown? Let's evolve markdown (delete, yes, delete some gimmicks, change some and add some) - see Texi - Text with Instructions [2] for the "next generation" the best of markdown and wikimedia markup all together now.
[1]: https://github.com/mundimark/awesome-markdown [2]: https://texti.github.io
As much as I dislike Word, you cannot simply compare Markdown to Word. Markdown is a text based format specification, while Word is a massive tool comprised of countless features (which happen to include a WYSIWYG editor).
The thing is a document only really contains a handful of different elements. Therefore you only need a handful of styles. What you do is make a template document for pandoc in the format of your choice (e.g. MS Word) and then your markdown/org-mode document can be automatically converted into that style.
The problem with Word is it makes choosing ad-hoc styles really easy instead of promoting the use of styles. It has developed a culture of people who think about text being "bold" rather than text being "a heading" or "emphasised" etc. We teach this distinctionfor HTML and CSS (and it is, to some extent, used) but for some reason still use Word for writing documents.
Still, it is true that your average Word user still typically produces fairly horrible documents. Why is that?
I suspect that large part comes from that they have been thrown in front of Word with very little guidance or training, because "everyone knows how to use Word", and they then just struggle on, occasionally googling and finding equally bad hints that they are unable to recognize as such because they don't know the fundamentals. Despite of its appreances Word is actually fairly complex (probably too much so for its own good) software.
Another big part, especially in corporate environment, is that "templates" that people are supposed to use are almost universally horrible. Either the concrete template files are bad, or the users are given some other document and told to make theirs look the same, which typically won't end well due aforementioned reasons.
Sure, Word also has true issues in this area too, but lot of the problems are cultural, and of course there is a feedback thing going on also that bad practices fester more bad practices and sort of also suppresses MS from radically improvong the situation.
Yes, I would agree with this. Even worse is that typing is also an expected skill but very few people can actually do it. Almost every person I come across for whom typing should be a necessary part of their job are simply incapable of doing it. How can we expect people to use software like Word if they can't even type?
But I really do think that in the vast majority of cases people do not need to be using Word. It could very well be done in a plain text format and the documents would look better as a result. Much of Word's functionality is very much a "could" rather than a "should".
I still use Google Docs, but more as a distributed note-taking thing, be it docs or spreadsheets, than for "production" stuff; especially for things that benefit from being version-controlled.
[0] https://github.com/ggambetta/computer-graphics-from-scratch
* File size. Not a big matter now-a-days but single text file can store many times more information than a binary file.
I don't think the author knows what a binary file is.
but to say that .docx is a binary file format, nope, it's a zipped text file format. If you parse docx you unzip and use an XML parser, you don't use a binary parser.
.doc was a binary format, but that's not been a default file format for Word in the last 15 years.
I've been working on translating a scanned PDF [1] back to Markdown, and I've stumbled on some issues:
* we're kinda targeting Github Flavored Markdown, but there's also an online version which uses Docsify, and some incompatibilities have tripped me up: hard line breaks, specifically.
* I've tried Mou and MacDown to edit, and the preview pane drifts out of sync, and sticks there. Both require awkward tricks to reload the files if you edit them elsewhere.
* diagrams and math formulae are, well, I'm kicking the can down the road on those.
* footnotes with text aren't exactly standard yet.
Glancing at Dillinger and StackEdit, mentioned in the article, I see other issues:
* multiple lines aren't automatically paragraphs
* StackEdit sorta supports diagrams and math expressions, but, not in a way they'll render on the target.
Having vented about all that, to come back to the article: this is still far preferable to Word. These obstacles don't feel insurmountable, and I was easily able to whip up tooling to go back and forth from one file for the book to a file per chapter, and it's mostly easy to track changes with git and Github.
[1] PAIP, previously discussed here: https://news.ycombinator.com/item?id=16469167
Markdown is awesome but it is not an alternative to MS Word.
I'm not a huge fan of MS Word myself, but in the limited experience I had, it's very difficult to get people to move away from it. I'm kind of feeling like this is the kind of thing that software developer see as an obvious improvement to let people know about, but miss on the fact that there isn't a huge amount of friction on the problem this solution solves.
I've tried writing study guides for myself in Markdown, and while it is useful, it is 10x easier to do it in Word.
Plus, as many people are saying, everyone uses Word. My school even gives out Office 365 subscriptions for free.
We should be trying to remove .docx and use more widely available standards that everyone can use, even if it's just LO's format.
It has most of the benefits of Markdown but is way more powerful.
The learning curve is quite high though and to call it human readable is a stretch sometimes.
I like to write common documents up front then put macros in place of things like "client name" -- then at the top of the file I declare them and it makes for really easy document generation.
I use it almost every day when copy-pasting from from shared google docs.
But -as we can read in these comments- there are lots of reasons and situations where this is ridiculous.
Kind of makes sense from developer perspective :) not much from sales perspective.
Yes, Markdown is an improvement over Word — and Org-mode is an improvement over Markdown (other than not being as popular).
I use Calc, Impress and so on, but I write in MS Word 97 under WINE. Faster, industry-standard for right or wrong, and very very quick on 21st century hardware.