Markdown Preview Plus Chrome plug-in usage
System: Win10
Chrome: 113.0.5672.127
Markdown Preview Plus: 0.7.3
1. Plug-in description
Generally, the preview function that comes with markdown tools is relatively simple. Plug-in developers are more accustomed to using vim to edit files. Although there are many markdown editing tools with instant preview functions, they are still not suitable. In order to facilitate previewing files in markdown format, Markdown Preview The Plus plug-in was born, which can automatically convert Markdown into HTML syntax and display it. Moreover, every time you save a Markdown file in Vim, it will be automatically refreshed, and the preview markdown file can be opened and exported to PDF through the Chrome browser.
2. Plug-in download
Plug-in download website: https://www.cnplugins.com/office/markdown-preview-plus
Official download link: https://www.cnplugins.com/uploads/plugins/201902/markdown-preview-plus-0.7.3 .crx
If crx is deleted directly after downloading, turn on the download settings in Chrome: Ask for the storage location of each file before downloading, and change the plug-in suffix to zip when downloading.
3. Plug-in configuration
Click the plug-in icon on Chrome and select Options to set it up
On the settings page, the default CSS was changed to YetAnotherGithub (I think this style is my favorite when printed, and I choose it according to personal preference). For the following supported extensions, I changed it to only recognize files ending in md.
4. Document style
4.1 Web page display
After installing the plug-in, I used the Chrome browser to open the markdown document and found that it was the style I wanted. It was organized and pretty.
4.2 Export PDF
Use the Ctrl+P shortcut key on the current web page to print the markdown file to PDF.