LoginSignup
5
5

More than 5 years have passed since last update.

gimli gem を使ってMarkdown形式のファイルからPDFファイルを生成する

Last updated at Posted at 2016-09-07

インストール

$ gem install gimli

デモ

対象マークダウン

  • cover.md (表紙)
<br><br><br><br><br><br><br><br><br><br><br>
# 表紙
  • contents.md (中身)
## 鼻毛とは?
鼻からでている毛のことである

## 耳毛とは?
耳からでている毛のことである

<div style="page-break-after: always;"></div>

## 表
|--|鼻毛|耳毛|
|---|:---:|:---:|
|田中|◯|☓|
|鈴木|☓|☓|
|ボーボボ|◯|☓|
|ドアラ|☓|◯|

<div style="page-break-after: always;"></div> の部分は改ページ

変換実行

$ gimli -f contents.md -cover cover.md

PDF

pdf1.png
pdf2.png
pdf3.png

外部資料

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5