├── markdownhere4zotero_kaopubear_190914.xpi └── README.md /markdownhere4zotero_kaopubear_190914.xpi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fei0810/markdownhere4zotero/HEAD/markdownhere4zotero_kaopubear_190914.xpi -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## 使用效果 2 | 3 | ![](https://raw.githubusercontent.com/fei0810/image-host/master/img/20190914114547.gif) 4 | 5 | ## 源文件 6 | 7 | markdown here github https://github.com/adam-p/markdown-here 8 | 9 | ## Zotero 插件制作 10 | 11 | Zotero 的插件格式和 Firefox 一致,后缀为 xpi,但是本质其实是一个 zip 压缩文件 12 | 13 | 新建一个目录`markdownhere4zotero`包含如下内容 14 | 15 | ``` 16 | chrome.manifest 17 | install.rdf 18 | common/ 19 | firefox/ 20 | ``` 21 | 22 | 在该目录下进行 zip 即可 23 | 24 | ```sh 25 | zip -r ./markdownhere4zotero.zip ./ 26 | ``` 27 | 28 | 然后修改 `markdownhere4zotero.zip` 为 `markdownhere4zotero.xpi` 即可。 29 | 30 | ## 使用 31 | 32 | 下载xpi格式文件,然后按照正常插件安装即可 33 | --------------------------------------------------------------------------------