From f70dbe968ba77c8da7108811d3df61c0f73a0254 Mon Sep 17 00:00:00 2001 From: yawkat Date: Wed, 22 Apr 2026 07:39:36 +0000 Subject: [PATCH] Fix docs code block line breaks Remove the custom Pygments line separator so highlighted README code blocks render with normal newlines instead of literal
tags on the published documentation site. Resolves #51 Co-Authored-By: multicode --- docs/justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/justfile b/docs/justfile index 3f51395..6da1a27 100644 --- a/docs/justfile +++ b/docs/justfile @@ -34,7 +34,7 @@ template NAME TAG: (repo TAG) selected_version_actual = '{{TAG}}' if '{{TAG}}' != '{{latest_version_name}}' else '{{latest_version}}' - html_formatter = pygments.formatters.HtmlFormatter(lineseparator="
") + html_formatter = pygments.formatters.HtmlFormatter() class PygmentsRenderer(mistune.HTMLRenderer): def block_code(self, code, info=None): if info: