How to Use FZF to make Chrome a great Markdown Reader

The aim of this page📝 is to share the hack for quickly opening markdown files with images and formatting in Chrome

since it cannot be rendered in Windows Terminal, I go for this workaround…
  1. Install Markdown Viewer
  2. Install fzf, ideally also see https://andrew-quinn.me/fzf/
  3. Put the following into your terminal profile — I’m on Windows and use PowerShell, but ideally this should work cross-platform with a bit of tweaking
function chf {chrome $PWD/$(fzf)}

In terminal just run chf ⟹ select a file ⟹ it opens in Chrome immediatelly properly rendered by Markdown Viewer

LINKS

Pavol Kutaj

Infrastructure Support Engineer/Technical Writer (snowplow.io) with a passion for Python/writing documentation. More about me: https://pavol.kutaj.com