Skip to content

Commit ec7ef43

Browse files
trongtai37jsoverson
authored andcommitted
feat: support export epub book
1 parent 8e64169 commit ec7ef43

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ source "https://rubygems.org"
22

33
gem "asciidoctor"
44
gem "asciidoctor-pdf"
5-
gem "rouge"
5+
gem "rouge"
6+
gem "asciidoctor-epub3", "~> 1.5"

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ MAKEFLAGS += --no-builtin-rules
99
book:
1010
bundle exec asciidoctor-pdf -a source-highlighter=rouge book/book.adoc --o from-javascript-to-rust.pdf
1111

12+
.PHONY: book-epub
13+
book-epub:
14+
bundle exec asciidoctor-epub3 -a source-highlighter=rouge book/book.adoc --o from-javascript-to-rust.epub
15+
1216
.PHONY: deps
1317
deps:
1418
bundle install

from-javascript-to-rust.epub

8.14 MB
Binary file not shown.

0 commit comments

Comments
 (0)