简体   繁体   English

使用markdown的外部链接不适用于jekyll“帖子”

[英]External links using markdown not working on jekyll “posts”

I have a jekyll site that I am trying to create some external links in the posts and both markdown and html is getting stripped when building. 我有一个jekyll网站,我试图在帖子中创建一些外部链接,并且在构建时markdown和html都被剥夺了。 When I look at the source of the built site its just the text. 当我查看构建站点的源代码时,它只是文本。 This is only happening in the posts...when I add a markdown link within a page it works fine. 这仅发生在帖子中...当我在页面内添加markdown链接时,它工作正常。 Can someone point me in the right direction? 有人可以指出我正确的方向吗? Thanks. 谢谢。 Below is an example: 下面是一个示例:

in my post.md file This is a link to [Google](https://google.com) 在我的post.md文件中This is a link to [Google](https://google.com)

when viewing the source from the index.html for home page out of _site directory the post shows up correctly but 'Google' is not a link, just text. 当从_site目录中的首页的index.html查看源代码时,该帖子会正确显示,但“ Google”不是链接,而只是文本。

index.html source: index.html来源:

<p>This is a link to Google</p>

I have tried to add just an html tag as well in the post.md file but that provides the same results. 我试图在post.md文件中只添加一个html标记,但是提供了相同的结果。

Thanks! 谢谢!

As stated by the OP. 如操作员所述。 This is a theme issue and not a bug. 这是一个主题问题,而不是错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM