Skip to content

Commit

Permalink
Zeilenumbruch in pre-Tags ermöglichen (insbesondere fürs ebook)
Browse files Browse the repository at this point in the history
  • Loading branch information
quizzmaster committed Jun 10, 2018
1 parent 76af76a commit 1f99fde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ git.chunked: git.chunked-prereq styles/toc.html
epub: git.epub

git.epub: git.txt
a2x -fepub --epubcheck $<
a2x -fepub --stylesheet="docbook-xsl.css styles/ebook.css" --epubcheck $<

pdf: git.pdf

Expand Down
3 changes: 3 additions & 0 deletions styles/ebook.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
body pre {
white-space: pre-wrap;
}

0 comments on commit 1f99fde

Please sign in to comment.