diff options
author | 2020-09-20 11:40:45 +0300 | |
---|---|---|
committer | 2020-09-20 11:40:45 +0300 | |
commit | 1b11ad2fd181edd87a29834544112b02a884b04f (patch) | |
tree | b3eabca654b451972e961fdfbb3105a6b8b67a9a | |
parent | Add guides app URLs to home app URLs (diff) |
Add codeblock parsing to Markdown parser for guide
-rw-r--r-- | pydis_site/apps/guides/views/guide.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/guides/views/guide.py b/pydis_site/apps/guides/views/guide.py index b8b697e3..470606fb 100644 --- a/pydis_site/apps/guides/views/guide.py +++ b/pydis_site/apps/guides/views/guide.py @@ -28,7 +28,7 @@ class GuideView(View): if not os.path.exists(path) or not os.path.isfile(path): raise Http404(f"Guide not found {path}") - md = Markdown(extensions=['meta', 'attr_list']) + md = Markdown(extensions=['meta', 'attr_list', 'fenced_code']) with open(path) as f: html = md.convert(f.read()) f.close() |