diff --git a/README.md b/README.md index cbbee2c..beed3d8 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,10 @@ The `tidocs merge` command provides a web interface for combining multiple relea ## Changelog +### v1.0.4 + +- Enhance the rendering of abstracts containing multiple paragraphs. + ### v1.0.3 - Remove "Abstract" heading from the generated Word document. diff --git a/src/tidocs/cli.py b/src/tidocs/cli.py index e10ebf8..7022421 100644 --- a/src/tidocs/cli.py +++ b/src/tidocs/cli.py @@ -38,7 +38,7 @@ def launch_marimo_app(appname: str, host: str, port: int) -> None: @click.command(no_args_is_help=True) -@click.version_option(version='1.0.3') +@click.version_option(version='1.0.4') @click.argument( "appname", type=click.Choice(list(APPS.keys())), diff --git a/src/tidocs/markdown_handler.py b/src/tidocs/markdown_handler.py index 4bd5972..c2d4a55 100644 --- a/src/tidocs/markdown_handler.py +++ b/src/tidocs/markdown_handler.py @@ -54,7 +54,7 @@ def generate_pandoc_metadata( # Handle toc_title if toc_title: metadata["toc-title"] = toc_title - yaml_str = yaml.dump(metadata, sort_keys=False, allow_unicode=True, width=float("inf"), default_style=None) + yaml_str = yaml.dump(metadata, sort_keys=False, allow_unicode=True, width=float("inf"), default_style="|") result = "---\n" + yaml_str + "---" return result