Installation and configuration
- Download the
hiccup-cli binary from here.
- Move
hiccup-cli to /usr/local/bin/hiccup-cli
- Because the
hiccup-cli does not support reading from stdin, I need to configure it with a bash script html2hiccup.
#!/usr/bin/env bash
middle="$(mktemp)"
while IFS= read -r line; do
echo "$line" >> "$middle"
done
hiccup-cli --html-file "$middle"
Move the script html2hiccup to /usr/local/bin/html2hiccup
Screenshots
vim reference with external command

Installation and configuration
hiccup-clibinary from here.hiccup-clito/usr/local/bin/hiccup-clihiccup-clidoes not support reading from stdin, I need to configure it with a bash scripthtml2hiccup.Move the script
html2hiccupto/usr/local/bin/html2hiccupScreenshots
vim reference with external command