CommonMark Ready Reference
By V. Subhash
()
About this ebook
CommonMark Ready Reference provides a full tutorial, hack collection and quick reference for MarkDown and CommonMark.
MarkDown is an easy human-readable text format that can serve as the common base for exporting to multiple document formats such as HTML, ODF, DOC/DOCX, PDF and ebook (EPUB, MOBI…). It is a great tool for creative writers, technical writers and authors to create books, manuals, web pages and other rich-text content. CommonMark is a new well-formed standard for the old MarkDown spec.
CommonMark was one of the reasons the author was able to write and design 21 books in one year. Incidentally, this is the first-ever book on CommonMark!
V. Subhash
V. Subhash is an invisible Indian writer, programmer and cartoonist. In 2020, he published one of the biggest jokebooks of all time — 2020 FRESH CLEAN JOKES FOR EVERYONE. He followed this jokebook with a tech book on the free multimedia-editing utility FFmpeg and a 400-page volume of 149 political cartoons. Although he had published a few ebooks (using off-the-shelf software) as early as 2003, Subhash did not publish books in the traditional sense until 2020. For over two decades, Subhash had used his website www.VSubhash.com as the main outlet for his writing. During this time, he had accumulated a lot of published and unpublished material. This content and the advanced book-production process that he had developed helped him publish 21 books in his first year. In February 2023, Apress/SpringerNature published his rewritten and updated FFmpeg book as QUICK START GUIDE TO FFMPEG. Thus, by early 2023, Subhash had published 30 books! In 2022, Subhash ran out of non-fiction material and tried his hand at fiction. The result was UNLIKELY STORIES, a collection of horror and comedy short stories. After adding new stories to this fiction title (for its second edition), Subhash plans to pause his writing and move on to other things. Subhash pursues numerous hobbies and interests, several of which have become the subject of his books such as COOL ELECTRONIC PROJECTS, HOW TO INSTALL SOLAR and HOW TO INVEST IN STOCKS. He was inspired to write his jokebook after years of listening to vintage American radio shows such as ‘Fibber & Molly’ and ‘Duffy's Tavern’. For more, check out: www.VSubhash.in
Read more from V. Subhash
400 Fresh Clean Jokes For Everyone Rating: 0 out of 5 stars0 ratingsLinux Command-Line Tips & Tricks Rating: 0 out of 5 stars0 ratingsHow To Invest In Stocks Rating: 0 out of 5 stars0 ratingsHow To Install Solar Rating: 0 out of 5 stars0 ratingsVastu Shastra Explained Rating: 0 out of 5 stars0 ratingsCool Electronic Projects Rating: 0 out of 5 stars0 ratingsLearn To Ride A Motorcycle In Five Minutes Rating: 0 out of 5 stars0 ratingsEmail Newsletter Strategies For Profit Rating: 0 out of 5 stars0 ratingsDictionary Of Indian English Rating: 0 out of 5 stars0 ratingsPC Hardware Explained Rating: 0 out of 5 stars0 ratingsUnlikely Stories Rating: 0 out of 5 stars0 ratingsUnlikely Stories, 2nd Edition Rating: 0 out of 5 stars0 ratings
Related to CommonMark Ready Reference
Related ebooks
Using Markdown: A Short Instruction Guide Rating: 0 out of 5 stars0 ratingsOracle Database Transactions and Locking Revealed: Building High Performance Through Concurrency Rating: 0 out of 5 stars0 ratingsMarkdown for Writers, 2nd Ed., Rev. Rating: 0 out of 5 stars0 ratingsWindows Batch File Programming Rating: 2 out of 5 stars2/5Node.js: Tools & Skills Rating: 0 out of 5 stars0 ratingsHackerTools Crack With Disassembling Rating: 2 out of 5 stars2/5Hypertext Markup Language (HTML) Fundamentals: How to Master HTML with Ease Rating: 0 out of 5 stars0 ratingsUpdate to Modern C++ Rating: 0 out of 5 stars0 ratingsBook Publishing Using Asciidoc Rating: 0 out of 5 stars0 ratingsIntroduction to HTML & CSS Rating: 4 out of 5 stars4/5C in 30 Pages Rating: 5 out of 5 stars5/5Build Your Own Distributed Compilation Cluster: A Practical Walkthrough Rating: 0 out of 5 stars0 ratingsThe Mac Terminal Reference and Scripting Primer Rating: 4 out of 5 stars4/5The Project Gutenberg RST Manual Rating: 0 out of 5 stars0 ratingsReact Components Rating: 0 out of 5 stars0 ratingsFour Programming Languages Creating a Complete Website Scraper Application Rating: 0 out of 5 stars0 ratingsGroovy for Domain-specific Languages - Second Edition Rating: 0 out of 5 stars0 ratingsIntroducing Bootstrap 4: Create Powerful Web Applications Using Bootstrap 4.5 Rating: 0 out of 5 stars0 ratingsOptimizing Visual Studio Code for Python Development: Developing More Efficient and Effective Programs in Python Rating: 0 out of 5 stars0 ratingsFoundation Dynamic Web Pages with Python: Create Dynamic Web Pages with Django and Flask Rating: 0 out of 5 stars0 ratingsGPU Programming in MATLAB Rating: 1 out of 5 stars1/5P.H.P Simple C.R.U.D Design Rating: 4 out of 5 stars4/5Markdown: A Complete Guide Rating: 0 out of 5 stars0 ratingsC# For Beginners: An Introduction to C# Programming with Tutorials and Hands-On Examples Rating: 0 out of 5 stars0 ratingsMake Bootstrap Themes Rating: 0 out of 5 stars0 ratingsHTML in 30 Pages Rating: 5 out of 5 stars5/5James Learning Javascript Programming Rating: 0 out of 5 stars0 ratingsRails: Novice to Ninja: Build Your Own Ruby on Rails Website Rating: 4 out of 5 stars4/5
Computers For You
Slenderman: Online Obsession, Mental Illness, and the Violent Crime of Two Midwestern Girls Rating: 4 out of 5 stars4/5101 Awesome Builds: Minecraft® Secrets from the World's Greatest Crafters Rating: 4 out of 5 stars4/5CompTIA Security+ Practice Questions Rating: 2 out of 5 stars2/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5How to Create Cpn Numbers the Right way: A Step by Step Guide to Creating cpn Numbers Legally Rating: 4 out of 5 stars4/5Standard Deviations: Flawed Assumptions, Tortured Data, and Other Ways to Lie with Statistics Rating: 4 out of 5 stars4/5The Invisible Rainbow: A History of Electricity and Life Rating: 4 out of 5 stars4/5The ChatGPT Millionaire Handbook: Make Money Online With the Power of AI Technology Rating: 0 out of 5 stars0 ratingsElon Musk Rating: 4 out of 5 stars4/5Mastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 5 out of 5 stars5/5Ultimate Guide to Mastering Command Blocks!: Minecraft Keys to Unlocking Secret Commands Rating: 5 out of 5 stars5/5Procreate for Beginners: Introduction to Procreate for Drawing and Illustrating on the iPad Rating: 0 out of 5 stars0 ratingsThe Hacker Crackdown: Law and Disorder on the Electronic Frontier Rating: 4 out of 5 stars4/5Master Builder Roblox: The Essential Guide Rating: 4 out of 5 stars4/5Deep Search: How to Explore the Internet More Effectively Rating: 5 out of 5 stars5/5Alan Turing: The Enigma: The Book That Inspired the Film The Imitation Game - Updated Edition Rating: 4 out of 5 stars4/5Practical Lock Picking: A Physical Penetration Tester's Training Guide Rating: 5 out of 5 stars5/5The Professional Voiceover Handbook: Voiceover training, #1 Rating: 5 out of 5 stars5/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Everybody Lies: Big Data, New Data, and What the Internet Can Tell Us About Who We Really Are Rating: 4 out of 5 stars4/5Dark Aeon: Transhumanism and the War Against Humanity Rating: 5 out of 5 stars5/5The Designer's Web Handbook: What You Need to Know to Create for the Web Rating: 0 out of 5 stars0 ratingsWeb Designer's Idea Book, Volume 4: Inspiration from the Best Web Design Trends, Themes and Styles Rating: 4 out of 5 stars4/5Learning the Chess Openings Rating: 5 out of 5 stars5/5Remote/WebCam Notarization : Basic Understanding Rating: 3 out of 5 stars3/5People Skills for Analytical Thinkers Rating: 5 out of 5 stars5/5
Reviews for CommonMark Ready Reference
0 ratings0 reviews
Book preview
CommonMark Ready Reference - V. Subhash
Preface
Here are a few things you need to know before reading further.
Naming convention
I use the word 'markdown' (in lower case) to refer to any MarkDown implementation, dialect or superset including CommonMark. Specifically, MarkDown means the original MarkDown.
Examples convention
The CommonMark examples are displayed in a
...
block. It has a thick left border. The HTML output of the examples will be in ...blocks. They will be dashed edges.
Version and dialect
This book is based on Version 0.30 of CommonMark. It may be superseded by newer versions. Whatever the case, the official documentation that came with the version of CommonMark/Markdown that you use in production will always have more relevance.
Although the CommonMark information in this book may apply to MarkDown as well, there are subtle differences between the two. The following text to create a heading passes for MarkDown but not for CommonMark.
#FFMPEG Quick Hacks
You may be expecting this:
Expected outputBut, it will not be processed by CommonMark and be output as:
#FFMPEG Quick Hacks
What went wrong? Answer: There has to be a space between the hash and the text. The following is valid CommonMark.
# FFMPEG Quick Hacks
If something from this book does not work with a markdown processor, you need to refer to its documentation.
Then, there are features not supported by both MarkDown and CommonMark, such as strikethroughs and tables. This book sticks to the reference implementation and will not bother with extended syntax supported by markdown extensions. However, this book will suggest workarounds for the same kind of output without using such extensions.
Purpose
Book announcementThe paperback version of this book is for those who need a desk-side reference and for those who would like to learn CommonMark (or MarkDown) at leisure. The paperback is black-n-white or grayscale. Only the cover is in colour. Hence, both covers have been designed as quick reference cards for MarkDown/CommonMark. In the annexures, a grayscale version of the quick reference card is available. You can remove the page and make as many photocopies as you want. (Cut the page with a blade or a pair of scissors. Do not tug at it and ruin the binding.)
If you are on a computer with an Internet connection, there will be plenty of other free alternatives including the official documentation. The ebook version of this book is for people to decide whether it is worth having the paperback on their desk. (The ebook does not include the quick reference card.) The full-colour covers of the paperback is available as a CommonMark/MarkDown cheat sheet or quick reference card on my website. You can print it on a colour printer. Download it for free from:
http://www.vsubhash.in/commonmark.html
Table of Contents
MarkDown and CommonMark
Starting with CommonMark
Build
Usage
Editor
Text
Bold
Italic
Bold-italic
Strikethrough
Paragraphs
Line breaks
Inline code
Escaping
Images
Inline images
Referenced images
Captioned images
Links
Just the URL
Text link
Text link with title attribute
Image link
Reference links
Reference links for citations
Horizontal Rule
A fancy name for a line
Code blocks
Pre-formatted code block
Escape three backquotes or tildes
Code blocks with language hints
Plain pre-formatted text blocks
Headings
ATX headings
Settext headings
Adding heading IDs
Blockquotes
One quoted line - one paragraph
Two adjacent quoted lines - still one paragraph
Two adjacent quoted lines with an empty line in between - two blockquotes
Adjacent lines with quoted empty line in the middle - two paragraphs in one blockquote
Blockquotes with more than just paragraphs
Nested blockquotes
Lists
Ordered lists
Unordered lists
Breaks inside list items
HTML blocks
Unprocessed HTML tags
Processed HTML tags
Exporting to other document formats
MarkDown and CommonMark
In the beginning, there was text. Then, came markup a la HTML. After that, came MarkDown.
Before the invention of the WorldWideWeb (WWW), there was Internet. Communication on this pre-WWW Internet was through email, Usenet, and other text-based protocols. To add context to this text messages, some primitive