diff options
author | Joe <bousset.rudy@gmail.com> | 2022-04-29 21:27:23 +0000 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-04-29 21:27:23 +0000 |
commit | 55ae651ff247f500b334b5be667a7943676cec1c (patch) | |
tree | d121d7136a6461b5d75a8e42b0b7fc03732501cb /usr/local/lib | |
parent | filters (diff) | |
download | joe-conf-55ae651ff247f500b334b5be667a7943676cec1c.tar.gz joe-conf-55ae651ff247f500b334b5be667a7943676cec1c.tar.bz2 joe-conf-55ae651ff247f500b334b5be667a7943676cec1c.tar.xz joe-conf-55ae651ff247f500b334b5be667a7943676cec1c.tar.zst joe-conf-55ae651ff247f500b334b5be667a7943676cec1c.zip |
cgitrc not too bad
Diffstat (limited to 'usr/local/lib')
-rwxr-xr-x | usr/local/lib/cgit/filters/html-converters/org2html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/local/lib/cgit/filters/html-converters/org2html b/usr/local/lib/cgit/filters/html-converters/org2html index 70c1e86..e9c3b44 100755 --- a/usr/local/lib/cgit/filters/html-converters/org2html +++ b/usr/local/lib/cgit/filters/html-converters/org2html @@ -1,4 +1,2 @@ #!/bin/sh -echo "<div style=\"font-family: monospace\">" -pandoc | egrep -v '(<html>|<head>|<meta|<title>|</title>|</head>|<body>|</body>|</html>|<!DOCTYPE|"http://www.w3.org)' -echo "</div>" +pandoc -forg -tgfm | ./md2html |