Skip to content

kevinmcconnell/book-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book Skeleton

This is a skeleton project for an e-book project written in AsciiDoc.

The project is set up for a multi-chapter book, with a cover image, and syntax highlighting of code blocks. It has a custom theme to controls fonts and spacing.

The project uses asciidoctor-epub and asciidoctor-pdf to generate EPUB and PDF versions of the book.

Getting started

The project dependencies are Ruby libraries, and can be installed using Bundler:

bundle install

Then you can build both book targets using the Makefile:

make

Alternatively, you can make pdf or make epub to build a single target.

Writing content

The AsciiDoctor Writer's Guide is a nice introduction to writing content in AsciiDoc. Once you're familiar with the basics of that, you can start adding chapters in the ./chapters folder, and include them in the main.adoc file.

About

Skeleton project for an Asciidoctor-based e-book

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published