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
gripsudo 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 ps2pdffind . -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
How Open-Chats Federation Enables anybody to host anything anywhere
New
A n8n workflow setup, that synchronizes workflow and credential changes directly to github