fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Some prelim work on builder api.
[librarian.git]
/
src
/
librarian
/
elements
/
headers
/
naglowek_rozdzial.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 NaglowekRozdzial(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
HTML_CLASS = 'wl'
16
17
EPUB_TAG = 'h2'
18
EPUB_CLASS = 'h3'
19
EPUB_START_CHUNK = True