且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我可以在Kramdown中关闭代码块吗?

更新时间:2023-09-19 23:20:28

使用两个空格而不是4个空格或制表符可解决大多数问题.但是,诸如"h1"(#title")之类的内容需要在一行的开头才能起作用.还不在那里...

Using two spaces instead of 4 spaces or a tab fixes most of the issues. However things like 'h1' ('#title') need to be at the beginning of a line to work. Not quite there yet...

我正在这样做:

{% capture includeGuts %}
{% include signup-guts.html %} 
{% endcapture %}
{{ includeGuts | replace: '    ', ''}}