提交 c46374a9 编写于 作者: M Mikhail Dieterle

parse <css> block as code (used in engines guide)

上级 1423cf9b
......@@ -47,7 +47,7 @@ def brush_for(code_type)
end
def code(body)
body.gsub!(%r{<(yaml|shell|ruby|erb|html|sql|plain)>(.*?)</\1>}m) do |m|
body.gsub!(%r{<(yaml|shell|ruby|erb|html|sql|css|plain)>(.*?)</\1>}m) do |m|
<<HTML
<notextile>
<div class="code_container">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册