/
githubmirror
/
markdown-here
Обзор
Документация
Войти
/
githubmirror
/
markdown-here
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v2.9.2
src/common/options-iframe.html
89 строк
2 KB
Adam Pritchard
Added strikethrough to example MD
18 окт 2013, 22:18
18 окт 2013, 22:18
716b40a
Код
Авторство
О чём код?
<!-- Copyright Adam Pritchard 2013 MIT License : http://adampritchard.mit-license.org/ --> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <script src="utils.js"></script> <script src="common-logic.js"></script> <script src="jsHtmlToText.js"></script> <script src="marked.js"></script> <script src="mdh-html-to-text.js"></script> <script src="markdown-here.js"></script> <script src="options-iframe.js"></script> <style> /* We don't really want to add styles to the preview because it might confuse users when they are playing with their own styles. However, it's also pretty confusing to show a serif font in the preview when email clients almost always use a sans serif font by default. */ body { font-family: Arial, sans; } </style> </head> <!-- NOTE: The content of the <body> *must not* be indented or have comments, otherwise it will affect the MD rendering. --> <body contenteditable="true"> ```javascript<br> function syntaxHighlighting() {<br> var n = 33;<br> var s = "hi";<br> console.log(s);<br> }<br> ```<br> <br> * plain<br> * *emphasis*<br> * **strong emphasis**<br> * ~~strikethrough~~<br> * `inline code`<br> <br> 1. Numbered list<br> 2. [Link](https://www.google.com)<br> <br> <br> An image:  <br> <br> > Block quote. <br> > *With* **some** `markdown`.<br> <br> If **TeX Math** support is enabled, this is the quadratic equation: <br> $-b \pm \sqrt{b^2 - 4ac} \over 2a$<br> <br> # Header 1<br> ## Header 2<br> ### Header 3<br> #### Header 4<br> ##### Header 5<br> ###### Header 6<br> <br> | Tables | Are | Cool |<br> | ------------- |:-------------:| -----:|<br> | col 3 is | right-aligned | $1600 |<br> | col 2 is | centered | $12 |<br> | zebra stripes | are neat | $1 |<br> <br> Here's a horizontal rule:<br> <br> ---<br> <br> ```<br> code block<br> with no highlighting<br> ```<br> <br> </body> </html>