use option 'strike' although no-sublime-support

This commit is contained in:
Mathieu PATUREL
2017-07-29 14:34:57 +10:00
parent e1eb17fe96
commit 41c28e2b24
3 changed files with 7 additions and 2 deletions

View File

@ -42,7 +42,7 @@ def markdown2html(md, basepath, color_scheme):
# the option no-code-highlighting does not exists in the official version of markdown2 for now
# I personaly edited the file (markdown2.py:1743)
html += md2.markdown(md, extras=['fenced-code-blocks', 'tables'])
html += md2.markdown(md, extras=['fenced-code-blocks', 'tables', 'strike'])
# tables aren't supported by the Phantoms
# This function transforms them into aligned ASCII tables and displays them in a <pre> block
@ -68,6 +68,7 @@ def markdown2html(md, basepath, color_scheme):
# BeautifulSoup uses the <br/> but the sublime phantoms do not support them...
html = html.replace('<br/>', '<br />').replace('<hr/>', '<hr />')
sublime.set_clipboard(html)
return html

View File

@ -10,7 +10,7 @@ hope: You'll enjoy using it!
And `<!-- vicious ones ;) -->`
Some `inline code` with *italic* and **bold** text.
Some `inline code` with *italic*, **bold** text, and ~~strike through~~.
```python
import this

View File

@ -10,3 +10,7 @@ else:
```
![img](docs/imgs/syntax-specific-settings.png)
<ol>
<li>test</li>
</ol>