[SSG] Parse markdown shownotes.

This commit is contained in:
Ceda EI 2020-01-26 00:40:29 +05:30
parent d0b7922c9b
commit 97c898acdb
1 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import subprocess
import sys
import jinja2
import markdown
def gen_name(date, slug):
@ -53,7 +54,7 @@ class Episode:
self.date = date
self.slug = slug
self.title = title
self.show_notes = show_notes
self.show_notes = markdown.markdown(show_notes)
self.video = video_src
def render(self, template, thumbnail_src):