首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Octopress的块引用插件中嵌入Markdown

在Octopress的块引用插件中嵌入Markdown
EN

Stack Overflow用户
提问于 2013-04-29 14:50:12
回答 1查看 595关注 0票数 0

我喜欢Octopress的块引用插件(http://octopress.org/docs/blogging/plugins/)的功能。这将给我提供一个很好的方式来将引用归因于作者。

然而,我想不出如何对markdown中的内容进行区块引用。

下面是我尝试过的一个例子:

代码语言:javascript
复制
{% blockquote Author http://sourceurl.com %}

[Octopress](http://octopress.org/) is a blogging framework written by [Brandon Mathis](http://brandonmathis.com/)
([@imathis](https://twitter.com/#!/imathis)) which sits on top of [Jekyll](https://github.com/mojombo/jekyll). Jekyll is
a static site generator, meaning there's no database associated with your blog. Instead of writing everything in a

{% endblockquote %}

有什么建议吗?看起来像这样可能行得通:Embedding Markdown in Jekyll HTML

我在github octopress deploy上得到了这个:http://www.railsonmaui.com,你可以在这里找到这篇文章的源代码:https://github.com/justin808/justin808.github.io/blob/source/source/_posts/2013-04-27-octopress-setup-with-github-and-org-mode.markdown

(在github上免费部署的Octopress非常酷,特别是在组织模式下)

EN

回答 1

Stack Overflow用户

发布于 2013-09-11 23:49:58

尝试使用{% raw %} ... {% endraw %}标记。这将阻止对包含的内容进行解析。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/16272765

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档