Skip to content
/ book-1 Public
forked from eko/book

A simple pandoc and markdown template repository for writing a book

Notifications You must be signed in to change notification settings

forkkit/book-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book

This is a template for start writing a book using Pandoc and Markdown style.

How to use

Just write your chapters markdown files in the chapters/ directory and add them in index.md at the root directory once they are ready to be compiled.

Books metadata have to be filled into metadata.md file, like this:

---
title:  'This is the title'
subtitle: "This is the subtitle"
author:
- Author One
- Author Two
description: |
    This is a long
    description.

    It consists of two paragraphs
...

Compilation

To compile, simply run:

$ make

This will generate your book file in the following formats:

  • .html
  • .pdf
  • .docx
  • .rtf
  • .odt
  • .epub

To re-build, you have to clean the previously built files. To do that, use:

$ make clean

About

A simple pandoc and markdown template repository for writing a book

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 100.0%