8 lines
216 B
Bash
Executable file
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 %}'
|