do not put extra headers in the html output

This commit is contained in:
Xfnw knuu 2021-01-13 20:46:55 -05:00
parent ce5dae1d36
commit ab082add20
2 changed files with 2 additions and 4 deletions

View file

@ -1,7 +1,5 @@
<!DOCTYPE html>
<!-- if you want manpages styled like this one,
check out https://causal.agency
-->
<!-- https://causal.agency/ -->
<style>
:root {
--ansi0: #161510;

View file

@ -14,7 +14,7 @@ command Tmh :r ~/.vim/templates/man.html
" 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 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