fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e4e0fd1cee97fe5cfca710a4a93006b06fd21ac4
[librarian.git]
/
src
/
librarian
/
elements
/
headers
/
naglowek_scena.py
1
from ..base import WLElement
2
3
4
class NaglowekScena(WLElement):
5
SECTION_PRECEDENCE = 2
6
SHOULD_HAVE_ID = True
7
8
TXT_TOP_MARGIN = 4
9
TXT_BOTTOM_MARGIN = 2
10
TXT_LEGACY_TOP_MARGIN = 4
11
TXT_LEGACY_BOTTOM_MARGIN = 0
12
13
HTML_TAG = 'h3'
14
15
EPUB_TAG = 'h2'
16
EPUB_CLASS = 'h3'
17
EPUB_START_CHUNK = False
18