Browse Source

Fix title for admonitions

main
Kujiu 1 year ago
parent
commit
cc6a381097
Signed by: kujiu
GPG Key ID: ABBB2CAC6855599F
  1. 2
      sphinx_gemini_builder/writer.py

2
sphinx_gemini_builder/writer.py

@ -128,7 +128,7 @@ class GeminiTranslator(SphinxTranslator):
def depart_title(self, node: Element) -> None:
if isinstance(node.parent, nodes.Admonition):
self.add_text(':')
self.add_text(': ')
def visit_subtitle(self, node: Element) -> None:
pass

Loading…
Cancel
Save