do not put extra headers in the html output
This commit is contained in:
parent
ce5dae1d36
commit
ab082add20
2 changed files with 2 additions and 4 deletions
|
@ -1,7 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- if you want manpages styled like this one,
|
<!-- https://causal.agency/ -->
|
||||||
check out https://causal.agency
|
|
||||||
-->
|
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--ansi0: #161510;
|
--ansi0: #161510;
|
||||||
|
|
|
@ -14,7 +14,7 @@ command Tmh :r ~/.vim/templates/man.html
|
||||||
" run groff+refer on file
|
" run groff+refer on file
|
||||||
:command Groff !sh -c 'p="%"; refer -PS -e -p ~/Documents/bib ${p::-4}.mom | groff -mom -Tpdf > ${p::-4}.pdf'
|
:command Groff !sh -c 'p="%"; refer -PS -e -p ~/Documents/bib ${p::-4}.mom | groff -mom -Tpdf > ${p::-4}.pdf'
|
||||||
:command Grofft !sh -c 'p="%"; refer -PS -e -p ~/Documents/bib ${p::-4}.mom | groff -mom -T ascii | sed -b "s/\x1b[^m]*m//g" > ${p::-4}.txt'
|
:command Grofft !sh -c 'p="%"; refer -PS -e -p ~/Documents/bib ${p::-4}.mom | groff -mom -T ascii | sed -b "s/\x1b[^m]*m//g" > ${p::-4}.txt'
|
||||||
:command Man !sh -c 'p="%"; mandoc -T html ${p} | cat ~/.vim/templates/man.html - > ${p}.html'
|
:command Man !sh -c 'p="%"; mandoc -T html -O fragment "$p" | cat ~/.vim/templates/man.html - > "$p".html'
|
||||||
|
|
||||||
:command Md !p="%"; cmark --unsafe ${p::-3}.md | h2p - ${p::-3}.pdf
|
:command Md !p="%"; cmark --unsafe ${p::-3}.md | h2p - ${p::-3}.pdf
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue