Convert a markdown file and display in terminal using sixels
stack run [name-of-markdown]
stack build
to compile programstack build --file-watch --exec 'markdown-preview-haskell-exe README.md'
to build and hot reload changesstack ghci
to load and debug single functions
- Scan markdown from file
- Convert scanned markdown into latex string
- Output latex string into temporary file
- Run
pdflatex
program with latex file input to convert to pdf - run ImageMagic
convert
to convert pdf into jpeg - Run chafa to convert to either sixel or kitty