fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Support for numeracja in HTML.
[librarian.git]
/
src
/
librarian
/
elements
/
headers
/
naglowek_czesc.py
1
from ..base import WLElement
2
3
4
class NaglowekCzesc(WLElement):
5
SECTION_PRECEDENCE = 1
6
7
TXT_TOP_MARGIN = 5
8
TXT_BOTTOM_MARGIN = 2
9
TXT_LEGACY_TOP_MARGIN = 5
10
TXT_LEGACY_BOTTOM_MARGIN = 0
11
12
EPUB_TAG = HTML_TAG = "h2"
13
14
EPUB_CLASS = "h2"
15
EPUB_START_CHUNK = True