Tools for writing a book based on Markdown.
- Clone this repository
- Put your *.md files into doc/
- sbt run
Plugins below is available in your Markdown document.
Define the anchor to reference from link plugin.
{{anchor title, label}}
- title: the title
- label: the label to reference from link plugin
Reference the anchor or caption.
{{link [page, ]label}}
- page: the relative path of the reference page (optional)
- label: the label to reference
Define keywords of the topic.
{{keyword keyword[, keyword[, keyword...]]}}
- keyword: arbitrary keywords
Define available versions of the topic.
{{version version[, version[, version...]]}}
- version: arbitrary versions
Display source code with the caption.
{{code title[, label]
source code
}}
- title: the title of the caption
- label: the label to reference (optional)
- source code: the source code
Display the table from CSV with the caption.
{{table title[, label]
csv
}}
- title: the title of the caption
- label: the label to reference (optional)
- csv: the table content (first row is header)
Display the image with the caption.
{{figure title[, label]
filename
}}
- title: the title of the caption
- label: the label to reference (optional)
- filename: the filename (or path) of the image
Write a memo for a reminder. Memo is listed at the side bar.
{{memo message}}
or
{{memo [name,] message}}
- name: the user name. It's used to identify whose memo. (optional)
- message: the message
Display contents in the box.
{{box title
content
}}
- title: the title of the box
- content: the content of the box
Write the column.
{{column title
content
}}
- title: the title of the column
- content: the content of the column
Write the note.
{{note title
content
}}
- content: the content of the note