ulivz / vuepress-plugin-yuque

Input: Yuque Repo, Output: VuePress Site!
https://vuepress-plugin-yuque.ulivz.com
MIT License
304 stars 37 forks source link

Didn't transfer yuque article style correctly #3

Closed Hellowor1d closed 5 years ago

Hellowor1d commented 5 years ago

Thanks for your excellent work , it's really a good and convenient tool !

when I tried for this plugin ,follow the documention

yarn dev

but the dev pages didn't show article style correctly like this:

image

image

even of my new yuque repo (manually type in markdown syntax) image

ulivz commented 5 years ago

This is because that the source markdown code of this repo contains html, but the html option in vuepress-plugin-yuque was disabled by default.

You can enable this option to avoid this issue.


BTW, actually the yuque's old doc can be written by markdown, although for now you can only use rich text. so the doc's response body would tell us which format it is and our project will respect it:

https://github.com/ulivz/vuepress-plugin-yuque/blob/450ecf1f77d3c898141d0bed11c25a867927aef8/lib/index.js#L126-L130