X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/8149be213f1c8f52b0dbe6c213f6073af57fa954..143e65252c1c842774bc5a601d5faef97ca6c886:/filters/html-converters/md2html diff --git a/filters/html-converters/md2html b/filters/html-converters/md2html index 5cab749..67141ba 100755 --- a/filters/html-converters/md2html +++ b/filters/html-converters/md2html @@ -1,2 +1,285 @@ -#!/bin/sh -exec "$(dirname "$0")/resources/markdown.pl" +#!/usr/bin/env python +import markdown +print(''' + +''') +print("
") +# Note: you may want to run this through bleach for sanitization +markdown.markdownFromFile(output_format="html5") +print("
")