Zapnutí citací v defaultním pandoc importu.

This commit is contained in:
Jan Černohorský 2023-09-19 23:24:24 +02:00
parent e76e861a17
commit aa4120a67b

View file

@ -37,7 +37,7 @@ def parse_string(s: str) -> list[Union[Str, Space]]:
# we ever want to disable or enable some of panflute's markdown extensions, # we ever want to disable or enable some of panflute's markdown extensions,
# this is the place to do it. # this is the place to do it.
def import_md(s: str, standalone: bool=True) -> Union[Doc, list[Element]]: def import_md(s: str, standalone: bool=True) -> Union[Doc, list[Element]]:
return convert_text(s, standalone=standalone, input_format="markdown-definition_lists-citations-latex_macros") return convert_text(s, standalone=standalone, input_format="markdown-definition_lists-latex_macros")
def import_md_list(s: str) -> list[Element]: def import_md_list(s: str) -> list[Element]:
return import_md(s, standalone=False) return import_md(s, standalone=False)