在Octopress中的blockquote插件中嵌入Markdown

时间:2013-04-29 06:50:12

标签: jekyll octopress jekyll-extensions

我喜欢Octopress(http://octopress.org/docs/blogging/plugins/)的blockquote插件的功能。它会给我一个很好的方法来将报价归于作者。

但是,我无法弄清楚如何阻止降价中的内容。

这是我尝试过的一个例子:

{% 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上部署了这个: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非常酷,尤其是使用org-mode)

1 个答案:

答案 0 :(得分:0)

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