diff options
-rw-r--r-- | godocs.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -54,8 +54,8 @@ def renderEntries(page: Page) -> Iterator[str]: return f"<audio controls><source src=\"{FILES_URL}/{match.group(1)}\">Your browser does not support the audio element.</audio>" 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 """ |