syntax highlight

brew install highlight

HTML preview

brew install w3m

Video cover Preview

brew install ffmpegthumbnailer