fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Support for block annotations. Option to use endnotes in PDF.
[librarian.git]
/
src
/
librarian
/
elements
/
headers
/
podtytul_podrozdzial.py
1
from ..base import WLElement
2
3
4
class PodtytulPodrozdzial(WLElement):
5
TXT_TOP_MARGIN = 2
6
TXT_BOTTOM_MARGIN = 2
7
8
HTML_TAG = "div"
9
HTML_CLASS = "subtitle4"
10
11
EPUB_TAG = "h2"
12
EPUB_CLASS = "h4"
13
14
def _epub_build_inner(self, builder):
15
builder.start_element('small', {})
16
super()._epub_build_inner(builder)
17
builder.end_element()