For viewing and paging through a markdown file with formatting
npm i -g mdless
mdless README.md
ORcat README.md | mdless
Navigating is done like in less
/vim
in bash:
- Use
up
/k
anddown
/k
arrow keys to scroll - Use
space
andb
to scroll pages - use
/
followed a term, and press enter, to search through the file