platform/libinjection/misc/mdgen.sh
2019-08-16 10:42:40 -04:00

8 lines
216 B
Bash
Executable file

#!/bin/bash
fname=$1
echo '{% extends "base.html" %}'
echo '{% block body %}'
#github-markup $fname
curl -H 'Content-Type: text/x-markdown' --data-binary @$fname https://api.github.com/markdown/raw
echo '{% end %}'