Browse Source

HTML: SmallCaps

jk-bakalarka
Jiří Kalvoda 8 months ago
parent
commit
86839a9269
  1. 3
      src/formatitko/html_generator.py

3
src/formatitko/html_generator.py

@ -344,6 +344,9 @@ class HTMLGenerator(OutputGenerator):
def generate_DefinitionList(self, e: DefinitionList):
self.writeln("<!-- FIXME: DefinitionLists not implemented -->")
def generate_SmallCaps(self, e: SmallCaps):
self.generate_simple_tag(e, attributes=self.common_attributes(e) | {"style": "font-variant: small-caps;"})
class StandaloneHTMLGenerator(HTMLGenerator):
def generate_Doc(self, e: Doc):

Loading…
Cancel
Save