Many technical writers either currently use or interested in using Markdown to write their technical documentation. It’s a bit like Marmite — some people love it and other people kind of hate it.
Markdown generates some controversy, but it still proves incredibly useful in certain contexts. In this post, we’ll discuss exactly what Markdown is, and whether it’s appropriate for your documentation project.
Definition of Markdown
John Gruber is the original creator of Markdown, and he defines it as:
“Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).”
Gruber’s definition shows that Markdown intended for anyone producing content on the web — which nowadays pretty much for anyone. Markdown is open source free software, which means that anyone can use it.
It’s licensed under a BSD-style open source license.
What is Markdown Editor?
For our purposes, Markdown is “plain text formatting syntax” — but it’s also a tool (parser) that converts this plain text formatting into HTML to display on the web.
The Markdown syntax is the information that your tool holds about the text. So for example, presentational syntax tells you how to present the text, as in the case of making it bold or underlined. Semantic syntax tells you what the text actually is, so that could be a list or a reference.
Markdown is fairly notable in that it combines both presentational and semantic syntax.
How to use Markdown for Technical Writing?
The key way you work with Markdown is in a file with an extension that is either .Markdown or .md. You write your text in the normal way, but format it using Markdown syntax — which can be found online.
You save your files in the Markdown format if you’re working in a plain text editor, or ensure your editor has a parser for Markdown. Many editors support Markdown, like Document360 which is our knowledge base platform. If a product supports Markdown, the company will tell you somewhere on their features page or their homepage.
Simple and easy to use Markdown editor to format text content without the need of HTML or CSS.
Just try using a bit of Markdown in Trello to format some of your cards. It presents a vast improvement over no formatting and is relatively easy to do.
Markdown Versus Other Markup Languages
Markdown is just one kind of markup language, of which there are many. The name “Markdown” is in fact a play on words of the term “markup”.
Markdown is used to render plain text in the browser but other markup languages may communicate directly with the computer. XML (Extensible Markup Language) is both human and machine-readable.
According to Webopedia, a markup language is defined as a tool used for:
“The processing, definition and presentation of text. The language specifies code for formatting, both the layout and style, within a text file. The code used to specify the formatting called as tags.
“HTML a an example of a widely known and used markup language.”
This means that the tags for formatting directly applied within the plain text file, as opposed to being specified in a separate file like CSS for example.
HTML stands for Hypertext Markup Language, and probably the best-known markup language used on the web today. Markdown has evolved as a way to simplify markup for web users.
History of Markdown Editor
Markdown was first created in 2004 by John Gruber, who collaborated with Aaron Schwartz on the syntax.
The reason they began their project is because historical markup languages were not at all easy for the average person to use.
The term “markup language” originated in the traditional publishing industry, where documents literally “marked up” by the author or editor. This was to tell the printer how to format the document when printing the final copy.
Imagine you had to write something, but also needed to communicate systematically to other people down the production line that you want:
- This bit in bold
- This bit to be a heading
- This should be a quote from another author
- Tell them an image is to go here
- This whole section highlighted
Markup the content in the traditional way but visualize the look and feel of content in modern style.
Enter Markup Languages
Since most markup languages were originally designed for very complex technical projects, there grew a need for a “lightweight” markup language. It had to be so simple that just anyone could use it — without years of training.
Technical Writer Tony Ibbs delivered a very interesting talk at Write the Docs Prague 2018 about the history of markup languages.
As you can see from Tony’s slide, Markdown is still a bit of a newcomer on the markup language scene.
Benefits of Markdown for Technical Writing
As a result of its simplicity, Markdown quickly became very popular among web writers.
Interestingly, it experienced a surge in popularity among technical writers around 2016. Some people were very excited about Markdown, while others — not so much.
Many technical writers find lots of benefits in using Markdown for their documentation. Some of these benefits are:
- Markdown provides semantic meaning for content in a relatively simple way
- You can write rich formatted content extremely quickly (compared to writing directly in HTML tags)
- You can read Markdown easily in plain text before rendered by HTML
- It doesn’t interrupt your workflow with the need to click buttons
- It’s platform-agnostic so your content is not tied to the format of your editor
Markdown is also lightweight, which means you don’t have to learn a lot to get started with it.
Lots of product documentation is written in Markdown because it is so versatile, and it can usually be transferred between different platforms. For example, you can write in Markdown in a text editor like Atom, or even a version-control platform such as GitHub since that also supports Markdown.
Markdown is lightweight editor and you don’t have to learn to get started with it.
It also works in Document360’s knowledge base software, which allows you to work in Markdown in the editor and provides shortcuts for writing in Markdown.
When Should you Use Markdown?
So why should you use Markdown instead of a WYSIWYG editor, which are standard and abundant nowadays?
The WYSIWYG editor usually requires you to click buttons to achieve the formatting you want, and limited by the design of the software creators. You also have to work in your chosen editor at all times, which takes the focus away from the actual content.
Some people are concerned that Markdown doesn’t have enough functionality to suit their needs or if they extend it then the content won’t be reusable. Markdown can be extended with extra functionality. This means someone creates another version (or “flavour”) of Markdown to suit their needs. On the other hand, if you extend it, your Markdown flavour may not be portable to another platform.
Ask yourself whether you likely to have thousands of pages content potentially reused across multiple platforms such as web, internal knowledge base, and print?
In this case, Markdown probably isn’t for you.
But if you want to quickly create simple text documentation with rich formatting, then Markdown may be for you.
Controversy Surrounding Markdown
Markdown editor created for a reason, but some people oppose strongly against using it. Reasons for this include:
- Markdown not originally intended for writing documentation so there may be limitations in how you can use it (John Gruber himself a prominent blogger, and blogging is one of the best use cases for Markdown)
- It’s not standardised like other markup languages, so you don’t necessarily know how it will be rendered in a browser
- There are dozens of “flavours” of Markdown as people have extended Markdown to offer the functionality they need, which aren’t compatible with one another
- Markdown merges the semantic meaning of your text and how it should be displayed, which some people find unsuitable
- It’s limited stylistically in how you can display your content — but this is an intentional design choice behind Markdown
Markdown’s innate flexibility and potential for use in a wide variety of contexts is what has led some to warn against using Markdown. Many people recommend it, but it just isn’t suitable for everyone.
Should I Use Markdown Editor?
Just like anything, Markdown a good choice if your project needs suited to it. Markdown has limited functionality because of the way designed. This makes some people swear by it and some people hate it.
Think about the interface in which create the content, the technical complexity of your documentation project, and the types of users who will need to create and review documentation.
Make sure you design the proper workflow for your documentation, and research the proper technical writing tools for delivery to avoid future styling issues. Markdown is not an editor in itself, so it has to be coupled with a CMS (Content Management System) to produce live documentation.
If you want to extend your Markdown-formatted documentation with CSS or more HTML, it’s important to note that these extensions will stop the style of your content being portable between systems. Some things you have added to work in your current editor may not port well, and therefore not work in a different editor.
It’s probably safe to say that many of the problems people using Markdown come from using it in inappropriate contexts. Markdown is safe to use if you know exactly what it can do, and what its limitations are.
Markdown is a great tool for easily making formatted text files that display across a variety of platforms. It’s popular with technical writers for its ease of use and relatively short learning curve.
Research your options before committing to launching a product documentation project in a particular format like Markdown. Make sure the other platforms you need to use — now and potentially in the future — are Markdown-compatible.