Add remaining installation instructions
Fix query forwarding to fzf with multiple terms


browse  log 



You can also use your local clone with git send-email.


mdndoc lets you read MDN documentation in the terminal


Run with no parameters to fuzzy search all MDN pages:

$ mdndoc

Additional arguments are passed to fzf as the initial query. If there is only one match, the page is opened immediately

$ mdndoc addeventlistener
$ mdndoc canvas context image


You must have the following programs installed to use mdndoc.

  • pandoc
  • fzf
  • find


git clone git.sr.ht/~ajpaon/mdndoc

cd mdndoc

# install to /usr/local/bin
sudo make install

# or install elsewhere
make PREFIX=~/.local install

This repo does not bundle mdn-content. You need to clone it separately and tell mdndoc where you saved it. For example:

git clone https://github.com/mdn/content ~/src/mdn-content

# in .bashrc:
export MDNDOC_MDN_PATH=~/src/mdn-content


Please email ~ajpaon/public-inbox@lists.sr.ht with any bugs, feature requests, or patches.