X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/8149be213f1c8f52b0dbe6c213f6073af57fa954..4c69241b052f7fa6d4c967bd9bc97c9db92a9572:/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("
")