Don’t Read This Book (Yet)
Introduction
- The Magical Typewriter
- How to Write a Novel in Markua
- How to Write a Computer Programming Book in Markua
- How to Write a Course (MOOC) in Markua
- Markua: Markdown for Books and Courses
- Why the Name “Markua”?
- The Markua Manual vs. The Markua Spec
- Markua 0.10 and Markua 0.29
- Differences with Leanpub Flavoured Markdown (LFM)
- Acknowledgments
Text Formatting
Headings
Paragraphs and Blank Lines
Resources
- Resource Insertion Methods
- Figures
- Spans
- Inserting Resources Into a Span Context
- Resource Locations
- Local Resources
- Web Resources
- Inline Resources
- Resource Types and Formats
- Images
- Video
- Audio
- Code
- Math
- Tables
Whitespace: Spaces, Tabs and Newlines
- Newlines
- Single Newline = Forced Line Break
- Three or More Newlines = Two Newlines = One Blank Line
- One Blank Line Is Added When Concatenating Manuscript Files
- All Blank Lines at the Beginning and End of a File are Removed
- Spaces and Tabs
- Spaces and Tabs at the Beginning of a Line are Only to Determine List Containment, and Extra Spaces are Removed
- Spaces and Tabs at the End of a Line are Removed
- Internal Spaces are Collapsed to One Space, Except At the End of Sentences
Lists
Definition Lists
Block Elements
- Scene Breaks (
* * *) - Blockquotes (
>) - Asides (
A>or{aside}) - Blurbs (
B>or{blurb}) - Supported Attributes for Blurbs
- Syntactic Sugar for Specific Blurb Classes:
D>,E>,I>,Q,T,W>,X> - Using Blurbs to Center Text with
C> - Using Extension Attributes on Blurbs to add
iconSupport
Quizzes and Exercises
- Quiz and Exercise Headings and Other Content
- An Empty Quiz or Exercise is Not an Error
- A Malformed Quiz or Exercise is an Error
- Supported Attributes on Quizzes and/or Exercises
- Question Types: Multiple Choice, Fill In The Blank
- Multiple Choice Questions
- Fill In The Blank Questions
- Creating a Course or MOOC from a Markua Document
- Question Alternates
Span Elements
- Links
- Inline Links
- Automatic Links
- Explicitly Creating Spans with
[…] - Sometimes a Square Bracket is Just a Square Bracket
- Footnotes and Endnotes
- Footnotes
- Endnotes
- Single Reference to Footnotes and Endnotes
- Footnotes and Endnotes Support Required for Paragraphs Only
- Crosslinks and ids
- Defining an id
- Referencing an
idWith a Crosslink - Rules for
ids and Crosslinks - Character Substitution (
X--for X—,X --for X –,...for …) - Optional Automatic Curly Quotes Outside of Code Blocks and Spans
- Escaping Special Characters with Backslash (
\) - Code Spans and Backticks (
`)
Metadata
- Attributes
- Attribute List Format
- Attribute Keys
- Attribute Values
idAttributes- Conditional Inclusion Attributes on Headings:
book,sample - Directives
- Page Breaks
Appendices
- No Inline HTML
- Differences with Markdown