filename
parameter to Visitor Class.class
bugChange tag_class
process. If the tag class value starts with +
then
it'll combine the default class value. If not, tag class value will replace
the default class value. For example:
```class=linenums
print 'hello, world'
```
will make pre class value linenums
, but if you pass tag_class = {'pre':'prettify'}
to parseHtml() function, it'll overwrite the linenums
, the result will be:
<pre class="prettify">
But if you pass tag_class = {'pre':'+prettify'}
, the result will be:
<pre class="prettify linenums">
abc.
will now <strong>abc</strong>.
Add wiki_link support [[xxx]]
Remove old block support
Add head line id support
Add ~~~
code block support
Add inner and outter anchor class
Add header anchor notation
Add footnote support
Fix td parse code text bug
Add custome block tag support, in the versions before 0.4, there are already such things, you can define it just like:
[[tag(arg=value)]]:
content
But above format looks not very simple, so I write new format, just like:
{% tag arg=value %}
content
{% endtag %}
And there are also some extend tag written before, so now you can mix them in markdown document.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。