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

URL 不能自动解析为超链接? #57

Open
zhangjie2012 opened this issue Apr 29, 2016 · 8 comments
Open

URL 不能自动解析为超链接? #57

zhangjie2012 opened this issue Apr 29, 2016 · 8 comments

Comments

@zhangjie2012
Copy link

比如源文件中存在: http://www.google.com,wiki 页面不能显示为超链接。

猜测是 markdown 引擎的问题,如何更换 markdown 引擎?

@Xuanwo
Copy link
Contributor

Xuanwo commented Apr 29, 2016

[xxx](www.google.com)即可,不是所有引擎都按照GFM来的

@tankywoo
Copy link
Owner

改为:

<http://www.google.com>

@zhangjie2012
Copy link
Author

@Xuanwo 这种方式可以啊,我知道的,但是不方便。

看我的问题描述中的谷歌链接,github 会直接将 url 渲染为 url。

我的问题是:simiki 如何更换 markdown 引擎?

@Xuanwo
Copy link
Contributor

Xuanwo commented Apr 29, 2016

@Xuanwo
Copy link
Contributor

Xuanwo commented Apr 29, 2016

@tankywoo 我没理解错的话,simiki现在的渲染是自己实现的?有没有考虑过拆分成一个模块,然后允许用户是用别的开源组件呢?

@zhangjie2012
Copy link
Author

@tankywoo 后期是否考虑把 markdown 引擎改为可配置的 ?像 jekyll 这样。

@Xuanwo 现在用的应该是标准 markdown。

@tankywoo
Copy link
Owner

@duzhuoyizui 我有考虑再支持 mistune 或者其它方案,然后配置中可以选择。

@tankywoo
Copy link
Owner

@Xuanwo 和我上一条回复类似,这块可以支持多个引擎,以及引擎配置写在_config.yml中;不过代码还是需要对这个引擎做一些抽象的支持。

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

3 participants