fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove legacy code for txt.
[librarian.git]
/
src
/
librarian
/
elements
/
headers
/
naglowek_podrozdzial.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 NaglowekPodrozdzial(WLElement):
8
NUMBERING = 's'
9
SECTION_PRECEDENCE = 3
10
11
TXT_TOP_MARGIN = 3
12
TXT_BOTTOM_MARGIN = 2
13
14
HTML_TAG = "h4"
15
16
EPUB_TAG = "h2"
17
EPUB_CLASS = "h4"