New Element-based builder API (WiP).
[librarian.git] / src / librarian / elements / separators / separator_linia.py
diff --git a/src/librarian/elements/separators/separator_linia.py b/src/librarian/elements/separators/separator_linia.py
new file mode 100644 (file)
index 0000000..7587785
--- /dev/null
@@ -0,0 +1,11 @@
+from ..base import WLElement
+
+
+class SeparatorLinia(WLElement):
+    TXT_TOP_MARGIN = 4
+    TXT_BOTTOM_MARGIN = 4
+    TXT_LEGACY_TOP_MARGIN = 2
+    TXT_LEGACY_BOTTOM_MARGIN = 2
+
+    def _txt_build_inner(self, builder):
+        builder.push_text('-' * 48)