It's a plain text format for writing structured documents, based on formatting conventions from email and Usenet.
Markdown is a way to style text on the web. You control the display of the document; formatting words as bold or italic, adding images, and creating lists are just a few of the things we can do with Markdown. Mostly, Markdown is only regular text with a few non-alphabetic characters thrown in, like
Want to learn Markdown in 60 seconds?
CommonMark proposes a standard, unambiguous syntax specification for Markdown, along with a suite of comprehensive tests to validate Markdown implementations against the specification.
GitHub.com uses a version of the Markdown syntax that provides an additional set of useful features:
Document Node supports the core features of CommonMark as well as the extended Github Flavoured Markdown. With auto-suggestion and syntax highlighting, writing using Document Node is definitely a joy.
The intention of Markdown is to minimise the formatting burden while writing and keep the content as plaintext for easy to read and share. But, when it comes to tables, things are a bit embarrassing.
In nature, tables are structured into rows and columns and heavily depend on the format to visually present the data. It's hard to manage in plain text. Perhaps that's the reason why the core CommonMark specification doesn't include tables at all.
The GitHub Flavored Markdown introduced the Tables extension, but you will find it still hard to write a complex table merely in plaintext.
If we just want to modify some text of a Markdown table slightly, it's not too hard. It's painful to create a big table and add or delete rows and columns in Markdown.
To solve this problem while keeping the convenience of Markdown plaintext, Document Node introduced an Excel-like user interface, where we can edit tables flexibly.
When we move our text cursor into a Markdown table, an
Edit icon will appear below.
Edit icon, the table under cursor will be loaded into a spreadsheet dialogue.
On this spreadsheet dialogue, we can adjust column alignments, insert rows and columns, or delete rows and columns.
Once we have finished editing the table, click the "OK" button, the latest Markdown table will be generated automatically and updated in the text editor. Any empty cells around the data table will be trimmed.
With this functionality in place, writing tables in Markdown becomes a real pleasure.
When you open the "Preview" pane on the right side, you can see what your Markdown content looks like in a basic HTML format.
Changes will be synchronised to the preview pane automatically. Scrolling in the Markdown editor will scroll on the preview pane at the same time.
Clicking the PDF icon on the header of the preview pane, we can quickly export the current document as a PDF file.
While you are writing at the bottom of your text editor in Document Node, you often want to switch to your web browser and see the current sentence on the page.
With the feature of synchronising the scroll bar position between the text editor and the web page, we don't have to scroll to bottom any more manually.
The same feature is available in the Rich text editor as well.
In addition to highlighting basic Markdown syntax, the Markdown editor can highlight sourcecode fragments as well. With a generic syntax highlighting engine, Document Node supports the highlighting of 310 languages.
Code blocks highlighting happens in four and more places:
That is, without any other plugins or configurations, by only using Document Node, you will get all your code syntax-highlighted in all places, as well as your website, blog, or online documentation.
When you start typing the code block language, there will be auto-complete available. As references, please see below for a complete list of supported languages.