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: 3 out of 5 stars3/5Vastu Shastra Explained Rating: 0 out of 5 stars0 ratingsHow To Install Solar Rating: 0 out of 5 stars0 ratingsCool Electronic Projects Rating: 0 out of 5 stars0 ratingsPC Hardware Explained Rating: 0 out of 5 stars0 ratingsLinux Command-Line Tips & Tricks Rating: 0 out of 5 stars0 ratingsLearn To Ride A Motorcycle In Five Minutes Rating: 0 out of 5 stars0 ratingsDictionary Of Indian English Rating: 0 out of 5 stars0 ratingsUnlikely Stories Rating: 0 out of 5 stars0 ratingsEmail Newsletter Strategies For Profit Rating: 0 out of 5 stars0 ratingsUnlikely Stories, 2nd Edition Rating: 0 out of 5 stars0 ratingsHow To Invest In Stocks Rating: 0 out of 5 stars0 ratings
Related to CommonMark Ready Reference
Related ebooks
The Days of Dinkum Dodger – Volume II: Dinkum Dodger, #2 Rating: 0 out of 5 stars0 ratingsLast Stage Manager Standing Rating: 0 out of 5 stars0 ratingsHaunting British Columbia: Ghostly Tales from the Past Rating: 0 out of 5 stars0 ratingsMonty Python from the Inside Out Rating: 5 out of 5 stars5/5Kids' TV: The First Twenty-Five Years Rating: 0 out of 5 stars0 ratingsMy Jamaican Experience: My Personal Experience of the Good Old Days, the Days of Wrath and a Look at Our Future Challenges Rating: 0 out of 5 stars0 ratingsMurfy Finds A Home: A Warm Story Of Friendship Between A Man And A Mouse Rating: 0 out of 5 stars0 ratingsLATIMER'S RAMBLES - 21 Illustrated Folk and Fairy Tales: A Fundraiser for the Survivors of the Grenfell Tower Disaster Rating: 0 out of 5 stars0 ratingsAdventures in Old Time Radio Rating: 0 out of 5 stars0 ratingsThe Creation of Garfield Rating: 0 out of 5 stars0 ratings“I Don’T Know, but I’Ve Been Told” Rating: 0 out of 5 stars0 ratingsBikey the Skicycle and Other Tales of Jimmieboy Rating: 0 out of 5 stars0 ratingsAn Innocent Man the Life and Times of an American Baby Boomer: Part 1 from the Beginnings Through the 1960S Rating: 0 out of 5 stars0 ratingsIt Can't Get Better Than This Rating: 0 out of 5 stars0 ratingsSquiggy's Famous Friends Rating: 0 out of 5 stars0 ratingsFizziwiz and the Flying Dumplings Rating: 0 out of 5 stars0 ratingsFor Sure Rating: 4 out of 5 stars4/5Cautionary Chronicles: An Illustrated Compendium of Human Striving Rating: 0 out of 5 stars0 ratingsA Poor Boy’S Odyssey Rating: 0 out of 5 stars0 ratingsA History of Television in 100 Programmes Rating: 3 out of 5 stars3/5The Magic Wagon Rating: 4 out of 5 stars4/5My Life in Jazz Rating: 0 out of 5 stars0 ratingsBoxcar Baby: This is a compilation of hilarious episodes that occurred during my childhood. Rating: 0 out of 5 stars0 ratingsThe Path to Grave Danger Rating: 0 out of 5 stars0 ratingsThe Magical Land of Noom Rating: 0 out of 5 stars0 ratingsThe Only Way Is the Steady Way: Essays on Baseball, Ichiro, and How We Watch the Game Rating: 0 out of 5 stars0 ratingsThe Funniest Decade: A Celebration of American Comedy in the 1930s Rating: 0 out of 5 stars0 ratingsThe Folk Handbook: Working with Songs from the English Tradition Rating: 0 out of 5 stars0 ratings
Computers For You
Elon Musk Rating: 4 out of 5 stars4/5Tor and the Dark Art of Anonymity Rating: 5 out of 5 stars5/5The Innovators: How a Group of Hackers, Geniuses, and Geeks Created the Digital Revolution Rating: 4 out of 5 stars4/5Deep Search: How to Explore the Internet More Effectively Rating: 5 out of 5 stars5/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Mastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 4 out of 5 stars4/5Creating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates 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/5CompTia Security 701: Fundamentals of Security Rating: 0 out of 5 stars0 ratingsThe ChatGPT Millionaire Handbook: Make Money Online With the Power of AI Technology Rating: 4 out of 5 stars4/5Excel 101: A Beginner's & Intermediate's Guide for Mastering the Quintessence of Microsoft Excel (2010-2019 & 365) in no time! Rating: 0 out of 5 stars0 ratingsCompTIA Security+ Get Certified Get Ahead: SY0-701 Study Guide Rating: 5 out of 5 stars5/5The Self-Taught Computer Scientist: The Beginner's Guide to Data Structures & Algorithms Rating: 0 out of 5 stars0 ratingsAlan Turing: The Enigma: The Book That Inspired the Film The Imitation Game - Updated Edition Rating: 4 out of 5 stars4/5Slenderman: Online Obsession, Mental Illness, and the Violent Crime of Two Midwestern Girls 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/5Mindhacker: 60 Tips, Tricks, and Games to Take Your Mind to the Next Level Rating: 4 out of 5 stars4/5Procreate for Beginners: Introduction to Procreate for Drawing and Illustrating on the iPad Rating: 5 out of 5 stars5/5The Hacker Crackdown: Law and Disorder on the Electronic Frontier Rating: 4 out of 5 stars4/5Fundamentals of Programming: Using Python Rating: 5 out of 5 stars5/5CompTIA IT Fundamentals (ITF+) Study Guide: Exam FC0-U61 Rating: 0 out of 5 stars0 ratingsComputer Science I Essentials Rating: 5 out of 5 stars5/5Learning the Chess Openings Rating: 5 out of 5 stars5/5Why Machines Learn: The Elegant Math Behind Modern AI Rating: 3 out of 5 stars3/5An Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/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