Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不支持图片吗? #9

Closed
CurryHan opened this issue Mar 15, 2018 · 8 comments
Closed

不支持图片吗? #9

CurryHan opened this issue Mar 15, 2018 · 8 comments

Comments

@CurryHan
Copy link

看了下.rdoc-dist文件夹下 图片没有生成

@jaywcjlove
Copy link
Owner

jaywcjlove commented Mar 15, 2018

@CurryHan 支持图片,不会又是因为windows 的问题吧

@jaywcjlove
Copy link
Owner

jaywcjlove commented Mar 15, 2018

@CurryHan 图片引入比较特殊,你先看一下图片引入的文档,我检查一下,是不是windows的路径问题,Mac和 Linux 上是没有问题的。

https://react-doc.github.io/#/introduce/guides/insert-img

@jaywcjlove
Copy link
Owner

@CurryHan 我看了你生成后的代码,你的图片存放位置有问题,应该放到你指定的 Markdown 文档目录之中。

@jaywcjlove
Copy link
Owner

@CurryHan windows我也测试了是没有问题的。

@CurryHan
Copy link
Author

@jaywcjlove 抱歉 没看到文档上的图片说明

@CurryHan
Copy link
Author

windows下测试了下
用markdown语法插入图片 build的时候图片会成功生成.
而用html的方式则不能成功生成.

@CurryHan CurryHan reopened this Mar 19, 2018
@jaywcjlove
Copy link
Owner

@CurryHan 这个我需要测试看一下什么问题。

@jaywcjlove
Copy link
Owner

jaywcjlove commented Jun 4, 2018

@CurryHan

https://react-doc.github.io/#/introduce/guides/insert-img

注意图片存储目录。

<img src="https://avatars1.githubusercontent.com/u/1680273?s=460&v=4"/>
<img width="60" height="60" src="./assets/react-logo.svg"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants