-
Notifications
You must be signed in to change notification settings - Fork 693
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
资源定位的时候对 <a> 及 <iframe> 是否支持 #843
Comments
[fis3的这个项目是用定义一个变量来替换的,具体的你可以看下fis3/doc。 |
谢谢 @sealice |
今天也遇到这个问题,最终按照@sealice 贴出的方法,在 parser阶段重复做了一次 extHtml 操作 https://coding.net/u/nimojs/p/fis-a-href/git/blob/master/fis-conf.js 我现在用 fis 编译 markdown 为 html,因为这个markdown是 第三方组件的文档,最终我要发布到 github page ,所以我需要 a链接能支持资源定位。 目前我很担心这种重复 extHtml 操作留下坑,毕竟我自己复制的 extHtml 函数不会随着 fis 的版本更新而更新。 @2betop @xiangshouding 是否考虑在文件属性中增加一项 指定当前文件进行 |
我是这样解决的:
|
我的配置如下:
但是我 html 文件里的
<a>
标签的href
和<iframe>
的src
所引用的 URL 没有被替换。这是文档的说明,我不知道
等
是否包含有这两种情况?如果没有,目前是否有好的解决方案?THX
The text was updated successfully, but these errors were encountered: