filters: import more modern scripts
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Tento commit je obsažen v:
5
filters/html-converters/man2html
Spustitelný soubor
5
filters/html-converters/man2html
Spustitelný soubor
@@ -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
Spustitelný soubor
2
filters/html-converters/md2html
Spustitelný soubor
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec "$(dirname "$0")/resources/markdown.pl"
|
||||
1731
filters/html-converters/resources/markdown.pl
Spustitelný soubor
1731
filters/html-converters/resources/markdown.pl
Spustitelný soubor
Rozdílový obsah nebyl zobrazen, protože je příliš veliký
Načíst rozdílové porovnání
4
filters/html-converters/resources/rst-template.txt
Normální soubor
4
filters/html-converters/resources/rst-template.txt
Normální soubor
@@ -0,0 +1,4 @@
|
||||
%(stylesheet)s
|
||||
%(body_pre_docinfo)s
|
||||
%(docinfo)s
|
||||
%(body)s
|
||||
2
filters/html-converters/rst2html
Spustitelný soubor
2
filters/html-converters/rst2html
Spustitelný soubor
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
rst2html.py --template="$(dirname $0)/resources/rst-template.txt"
|
||||
4
filters/html-converters/txt2html
Spustitelný soubor
4
filters/html-converters/txt2html
Spustitelný soubor
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
echo "<pre>"
|
||||
cat
|
||||
echo "</pre>"
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele