Leanpub
A platform for writing and publishing in [Markdown
Can be integrated with Github and Bitbucket
Automatic preview creation after push to Github
Files (PDF, MOBI, EPUB) created by the system side are shared through Dropbox integration
Just follow the tutorial and you'll be set up there in about 1 pomodoro.
Table of contents is automatically generated.
This kind of page is also generated
https://gyazo.com/bc13bcb02227c14f023851e1f6aeb40d
Leanpub Flavored Markdown
It's Markdown with an extension of what's missing when writing technical books.
Code regions with title and syntax highlighting
code::
{title="Displays 'true!' since 0 is true in Ruby", lang=ruby}
~~~~~~~
if 0 then
...
end
~~~~~~~
https://gyazo.com/e9b5656671c287eab658f4dd1cd9ee2c
footnote
code::
and second line of footnote
This is how the link should appear in the sentence
https://gyazo.com/1f35fb6f5d6ed7e2536ff2bf5e5334c5
The actual footnotes are summarized in a chapter called Notes at the end of all of them (is that called a footnote?).
https://gyazo.com/ea1e8a371846e630e65cccce99c6f3de
Each sentence in the Notes is given a link to jump to the original location.
https://gyazo.com/84db800d9ad55ddee756ca4d50cccebe
The PDF version seems to show them at the bottom of the page as footnotes. The Japanese is garbled, but maybe the font is not embedded because I have the book set to the English version?
https://gyazo.com/8dbcfc17dcaa5811bab894cc2d1b3f88
There is an order directing the use of Japanese fonts.
image
![An awesome sword](images/Sword.png)
---
This page is auto-translated from /nishio/Leanpub. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.