Fix title for admonitions
This commit is contained in:
parent
28e9f322f3
commit
0d8ae97b88
2 changed files with 8 additions and 1 deletions
|
@ -10,3 +10,10 @@ your project.
|
||||||
You can add a `gemini_footer` in config, formatted under the
|
You can add a `gemini_footer` in config, formatted under the
|
||||||
Gemini specification. You need to set `gemini_baseurl` for
|
Gemini specification. You need to set `gemini_baseurl` for
|
||||||
good url in links.
|
good url in links.
|
||||||
|
|
||||||
|
TODO
|
||||||
|
----
|
||||||
|
|
||||||
|
- Table support
|
||||||
|
- Copy images
|
||||||
|
- ablog support with RSS generation
|
||||||
|
|
|
@ -493,7 +493,7 @@ class GeminiTranslator(SphinxTranslator):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def _visit_admonition(self, node: Element) -> None:
|
def _visit_admonition(self, node: Element) -> None:
|
||||||
pass
|
self.add_text(admonitionlabels[node.tagname] + ':')
|
||||||
|
|
||||||
def _depart_admonition(self, node: Element) -> None:
|
def _depart_admonition(self, node: Element) -> None:
|
||||||
self.end_block()
|
self.end_block()
|
||||||
|
|
Loading…
Reference in a new issue