From 0e513d7a2c265faf74441938ccbd1010660609f4 Mon Sep 17 00:00:00 2001 From: Ryan Morshead Date: Wed, 20 Nov 2024 20:41:53 -0700 Subject: [PATCH] Update plugin.py --- mdformat_admon/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdformat_admon/plugin.py b/mdformat_admon/plugin.py index 053771f..0347637 100644 --- a/mdformat_admon/plugin.py +++ b/mdformat_admon/plugin.py @@ -32,7 +32,7 @@ def render_admon(node: RenderTreeNode, context: RenderContext) -> str: indent = " " * (min(len(prefix), 3) + 1) content = textwrap.indent(separator.join(elements), indent) - return title_line + "\n" + content if content else title_line + return title_line + "\n\n" + content if content else title_line def render_admon_title(