Introduction
- Leanpub Flavoured Markdown vs. Markua
- Switching Writing Modes
- Scope of this Manual
Book.txt, Sample.txt and Manuscript Files
- The Book.txt File
Book.txtand themanuscriptFolder- Making a Sample Book for Readers to Browse for Free
- The Sample Book
- Adding Images or Pictures to Your Book
- A Note About Character Encoding
How Markdown is Used in Leanpub
Attributes
Creating A New Book
- How To Set The Book’s Structure
Sample Books
- Why Sample Books?
- Consequences for Manuscripts
Images
- How To Insert An Image
- Image Format And Resolution
- Positioning An Image On The Page
- Floating images and lists
Languages and Letter Accents
- Setting the Main Language Used in the Book
- Overriding Leanpub Language Defaults
- Switching back and forth between language fonts
- A note about writing Leanpub books in Japanese, Korean and Chinese
- A note about writing Leanpub books in right-to-left (RTL) languages
Parts, Chapters and Sections
- Parts
- Chapters, Sections and Sub-sections
- Table of Contents
- Front Matter, Main Matter and Back Matter
Styling Text
- Bold, Emphasis/Italics, and Underlining
- Superscripts
- Monospaced Text
- Non-Breaking Spaces
Blocks Of Text
- Paragraphs
- Centering Paragraphs Or Lines Of Text
- Numbered/Ordered Lists
- Unordered/Bulleted Lists
- Definition Lists
- Blockquotes
- Asides/Sidebars
- Your title goes here.
- Your Aside title
- More Text Block Types
- Warning!
- This is a Warning
- Tips
- This is a Tip
- Errors
- This is an Error
- Information
- This is an Information box
- Questions
- This is a Question box
- Discussions
- This is a Discussion box
- Exercises
- This is an Exercise
- Generic Boxes
Code
- Code Samples
- Code Sample Titles
- Marking lines as deleted or added to a code block
Poetry
- Poetry Stanzas in Regular Markdown
- Spacing Control for Poetry
- Line Lengths
Links
- Formatting Links
- Long Hyperlinks
- Footnotes and Hyperlinks in PDF
Footnotes and Endnotes
- Footnotes
- Endnotes
- Remove Footnotes
Crosslinks
- Quick Explanation
- Longer Explanation
- Crosslinking to something with an ID
- Some Crosslink Details
Breaks
- Pagebreaks
- Line Breaks
Tables
- Table Width
- Multi-line rows
- Alignment and footer rows
- Table Titles
- HTML Tables
- A note on combining attributes
Miscellaneous
- Escaping Markdown Syntax Characters
- How To Exclude Lines From Your Book
- Mathematical Equations
- Curly Quotes
- Figure Captions and Labels
- Links In Footnotes
- Why can’t I put section commands in Book.txt?
- Trouble With Accents? Forcing Text Editors To Save As UTF-8
- I don’t understand how things get added to a Table of Contents
- What encoding should I use to write files in Markdown? Should I write in ASCII or UTF-8?
- How Can I Add Blank Lines To My Text?
- Adding a motto or epigraph to the beginning of a chapter
- Disabling Line Numbers While Nesting Code Blocks In Lists
- Indentation
- Hanging Indents
- Long strings of characters running off the right-hand side of the page / the right margin