markdown document download chrome plug-in
Execute pull/install/package in command line
git clone https://github.com/kscript/markdown-downloadcd markdown-download npm install npm run build
You can also use files in the
gh-pages
branch after cloning
开启开发者模式
in chrome browser extension
Select加载已解压的扩展程序
and select the dist folder after the project is packaged.
Visit the article details page of the supported website, wait for all the images in the article to load, and click the plug-in icon.
npm i markdown-downloader
Since it will operate DOM elements, it needs to be run in a browser environment.
// Method 1. Import module import markdownDownload, { convert, download, websiteConfigs } from 'markdown-downloader'markdownDownload(websiteConfigs.juejin, {// innerHTML text context containing all information: ``})
Github Issue
Nuggets Zhihu Column Sifu Column Brief Book Blog Park WeChat Article Open Source China
CSDN