Related
Simulate secondary webcam on linux
How to use `ffmpeg` to funnel screen or video data as video input.
Popular topics
01 min reading in—Tools
A collection of strategies to quickly produce pdf's from markdown files
Different command I've used over the year to quickly create pdfs from local note files.
pandoc -V geometry:margin=1cm <mardown-file> -o <pdf-file>
wkhtmltopdf
-enginepandoc --pdf-engine=wkhtmltopdf -V papersize=a4 -V margin-top=0.1 -V margin-left=0.1 -V margin-right=0.1 -V margin-bottom=0.1 --from markdown-markdown_in_html_blocks+raw_html <markdown-file> -o <pdf-file>
pandoc --wrap=preserve $1 -V geometry:margin=1cm -V fontsize=8pt -o $1.pdf -f markdown+hard_line_breaks
grip
sudo snap install grip grip <markdown-file>
then visit the browser page and export the page as pdf.
Or curl -X <page> > rendered.html
.
pandoc --pdf-engine=wkhtmltopdf rendered.html -o <pdf-file>
enscript
and ps2pdf
find . -type f -name $1 | while read ONELINE; do enscript "$ONELINE" -p "$(echo "$ONELINE" | sed 's/.txt/.ps/g')"; done find . -type f -name "$(echo "$1" | sed 's/.txt/.ps/g')" | while read ONELINE; do ps2pdf "$ONELINE" "$(echo "$ONELINE" | sed 's/.ps/.pdf/g')"; done
Related
How to use `ffmpeg` to funnel screen or video data as video input.
New
A comprehensive comparison of leading video call service providers focusing on cross-platform compatibility for React-based web and native...
New
A comprehensive setup guide for setting up a Lenovo Yoga 9 Pro with Ubuntu 23.10 and Regolith i3, including resolution and external monitors...