fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
release
[librarian.git]
/
src
/
librarian
/
elements
/
headers
/
naglowek_scena.py
1
# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
2
# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
3
#
4
from ..base import WLElement
5
6
7
class NaglowekScena(WLElement):
8
NUMBERING = 's'
9
SECTION_PRECEDENCE = 2
10
11
TXT_TOP_MARGIN = 4
12
TXT_BOTTOM_MARGIN = 2
13
14
HTML_TAG = 'h3'
15
16
EPUB_TAG = 'h2'
17
EPUB_CLASS = 'h3'
18
EPUB_START_CHUNK = False
19