Browse Source

Implementace citací

citace
Jiří Kalvoda 1 year ago
parent
commit
e76e861a17
  1. 2
      src/formatitko/html_generator.py

2
src/formatitko/html_generator.py

@ -290,7 +290,7 @@ class HTMLGenerator(OutputGenerator):
self.writeln("<!-- FIXME: Citations not implemented -->") self.writeln("<!-- FIXME: Citations not implemented -->")
def generate_Cite(self, e: Cite): def generate_Cite(self, e: Cite):
self.writeln("<!-- FIXME: Cites not implemented -->") self.generate_simple_tag(e, tag="a", attributes=self.common_attributes(e) | {"href": f"#ref-{e.citations[0].id}"})
def generate_Definition(self, e: Definition): def generate_Definition(self, e: Definition):
self.writeln("<!-- FIXME: Definitions not implemented -->") self.writeln("<!-- FIXME: Definitions not implemented -->")

Loading…
Cancel
Save