filters: import more modern scripts
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Šī revīzija ir iekļauta:
5
filters/html-converters/man2html
Izpildāmais fails
5
filters/html-converters/man2html
Izpildāmais fails
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
echo "<div style=\"font-family: monospace\">"
|
||||
groff -mandoc -T html -P -r -P -l | egrep -v '(<html>|<head>|<meta|<title>|</title>|</head>|<body>|</body>|</html>|<!DOCTYPE|"http://www.w3.org)'
|
||||
echo "</div>"
|
||||
|
2
filters/html-converters/md2html
Izpildāmais fails
2
filters/html-converters/md2html
Izpildāmais fails
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec "$(dirname "$0")/resources/markdown.pl"
|
1731
filters/html-converters/resources/markdown.pl
Izpildāmais fails
1731
filters/html-converters/resources/markdown.pl
Izpildāmais fails
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Ielādēt izmaiņas
4
filters/html-converters/resources/rst-template.txt
Parasts fails
4
filters/html-converters/resources/rst-template.txt
Parasts fails
@@ -0,0 +1,4 @@
|
||||
%(stylesheet)s
|
||||
%(body_pre_docinfo)s
|
||||
%(docinfo)s
|
||||
%(body)s
|
2
filters/html-converters/rst2html
Izpildāmais fails
2
filters/html-converters/rst2html
Izpildāmais fails
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
rst2html.py --template="$(dirname $0)/resources/rst-template.txt"
|
4
filters/html-converters/txt2html
Izpildāmais fails
4
filters/html-converters/txt2html
Izpildāmais fails
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
echo "<pre>"
|
||||
cat
|
||||
echo "</pre>"
|
Atsaukties uz šo jaunā problēmā
Block a user