A very simple and minimalistic Markdown viewer, I built this tool with the idea of supplying my needs and learning in the process :)
my needs = class note taking
- Live reload
- KaTex and MathJax support.
- Emoji support.
- fully compatible with neovim.
- markdown flavor like github.
- and more...
To install it must be done through npm or a similar Node package manager like yarn or pnpm.
pnpm
pnpm install -g mdoom-preview
yarn
yarn add -g mdoom-preview
npm
npm install -g mdoom-preview
Another option is to install it manually, clone the repository and install the dependencies.
git clone <THIS_REPO>
cd <THIS_REPO>
pnpm install
Then you can execute the program running this command.
pnpm run dev
This tool is intended to be simple to use and still be free to any modification is why at the time of running for the first time will create a directory in ~/.config/md-preview/
there will be created the index.html
and index.css
files that can be modified in order to customize the styles and some functionality according to the user's needs ;)
command structure
mdoom-preview file.md
This will open a browser window with the server and the file.
Work in progress
You can customize all in this tool, if you want to change the Markdown style you can edit ~/.config/md-preview/css/style.css
.
Feel free to modify this tool and if you wish make a pull request :3