From 06740137f73aac531b028fac3228369643f7b90f Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Thu, 10 Apr 2025 15:32:16 +0200 Subject: Audio tag processing --- godocs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'godocs.py') diff --git a/godocs.py b/godocs.py index 8cdc8f0..b58bbd4 100644 --- a/godocs.py +++ b/godocs.py @@ -54,8 +54,8 @@ def renderEntries(page: Page) -> Iterator[str]: return f"" with_videos = re.sub(VIDEO_REGEX, videoTag, raw) - #re.sub(AUDIO_REGEX, audioTag, raw) - yield markdown(with_videos, extras=["fenced-code-blocks", "strike", "tables"]) + with_audio = re.sub(AUDIO_REGEX, audioTag, with_videos) + yield markdown(with_audio, extras=["fenced-code-blocks", "strike", "tables"]) def renderPageCallback(template_file: Path, stylesheet_url: str) -> Callable[[Page, str], None]: """ Callback to process the provided page metadata and output the final page to the filesystem """ -- cgit v1.2.3