- Put the pictures the manuscript uses in the same folder as the
.mdfile, or in a folder inside it. - Choose File then Import then Import Markdown or EPUB….
- In the Import a Markdown manuscript or an EPUB window, select the
.md,.markdownor.txtfile and choose Open. - Choose the book type, then Continue.
- Check the title, author and language, then choose Open book.
What comes across
| In the file | In LeafBound |
|---|---|
A title block between --- lines at the top | Book details: title, subtitle, author (or authors), language, series, series_number, isbn, publisher, description and rights |
The highest level of # heading used | Chapters. “Prologue”, “Part One” and similar names become their own kinds of element, and “Chapter 3: Title” becomes chapter 3 called Title |
| Lower headings | Subheadings |
*italic*, **bold**, ~~strikethrough~~, `code`, links | The same formatting and links |
Footnotes written [^1] with [^1]: text | Footnotes |
| Lists, block quotes, and a quote line starting with a dash | Lists, block quotes and an attribution |
Tables with a |---| line, and a caption line under them that starts with Table 1: | Tables with a caption |
| A picture on a line of its own | A picture, with its bracket text as the description |
A line of ***, --- or ___ | A scene break |
<!-- pagebreak -->, \newpage or \pagebreak on a line of its own | A page break |
| Fenced code blocks | Monospace paragraphs, one per line |
Plain-text manuscripts
A .txt file with no # headings is read for structure instead. A short line on its own such as Chapter One, Part 2, Prologue or Acknowledgments opens a new element, and the smart import finds the title page, parts and chapters as it does for Word. See Smart import.
What does not come across
- HTML inside the Markdown is imported as plain text with its tags removed.
- Pictures linked from the web are not imported. Add them to the book from your computer.
- Pictures inside a paragraph come in as their description only. Put each picture on a line of its own.
- A picture path that points outside the manuscript folder is skipped, as is a picture larger than 64 MB.
Limits and messages
| Message | What to do |
|---|---|
| This file is larger than 64 MB, which is more than LeafBound can import as text. | Split the manuscript into smaller files, or check that you chose the manuscript and not another file. |
| The manuscript was not found. | The file was moved, renamed or deleted, or its drive is not connected. Find the file and import it again. |
A text file that is not really text, such as a renamed picture, imports as unreadable characters. Close that book without saving it and choose the right file.
Import only material you have the right to use. LeafBound does not check who owns a file.
Related
- How smart import finds chapters and the title page
- Import an EPUB
- Import a manuscript from the library
Still stuck?
Choose Help then Report a problem… in LeafBound to send us the details, or write to support.