[SSG] Parse markdown shownotes.
This commit is contained in:
parent
d0b7922c9b
commit
97c898acdb
3
nova.py
3
nova.py
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue