【发布时间】:2011-12-09 17:08:33
【问题描述】:
我正在使用 Jekyll 将我的 markdown 和 Pygments 转换为语法高亮。
这是maruku显示的错误:
Liquid error: undefined method `join' for "\n song_info = []\n for song in songs:\n song_info.append(song.name) \n":String
标记如下:
{% highlight python %}
song_info = []
for song in songs:
song_info.append(song.name)
{% endhighlight %}
在 iPython 中测试 Pygments 不会产生错误。
有什么想法吗? ;o(
提前致谢!
【问题讨论】:
标签: python markdown jekyll liquid pygments