[SSG] Parse markdown shownotes.
This commit is contained in:
3
nova.py
3
nova.py
@@ -11,6 +11,7 @@ import subprocess
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
import jinja2
|
import jinja2
|
||||||
|
import markdown
|
||||||
|
|
||||||
|
|
||||||
def gen_name(date, slug):
|
def gen_name(date, slug):
|
||||||
@@ -53,7 +54,7 @@ class Episode:
|
|||||||
self.date = date
|
self.date = date
|
||||||
self.slug = slug
|
self.slug = slug
|
||||||
self.title = title
|
self.title = title
|
||||||
self.show_notes = show_notes
|
self.show_notes = markdown.markdown(show_notes)
|
||||||
self.video = video_src
|
self.video = video_src
|
||||||
|
|
||||||
def render(self, template, thumbnail_src):
|
def render(self, template, thumbnail_src):
|
||||||
|
Reference in New Issue
Block a user