Site Notice
hello, world
Difference between revisions of "Markdown"
From Project-EPB Commons
([InPageEdit] 没有编辑摘要) |
([InPageEdit] 没有编辑摘要) |
||
Line 10: | Line 10: | ||
</script> | </script> | ||
</html> | </html> | ||
+ | <pre class="markdown-text"> | ||
+ | ## Header | ||
+ | * List | ||
+ | |||
+ | [https://wjghj.cn](wjghj.cn) | ||
+ | </pre> |
Revision as of 03:46, 17 April 2020
<html> <script src="https://cdn.bootcss.com/showdown/1.3.0/showdown.min.js"></script> <script> $(function(){
var content = $('.markdown-text').text(); var converter = new showdown.Converter(); content = converter.makeHtml(content); $('#markdown').after('<div class="markdown">' + content + '</div>').remove();
}); </script> </html>
## Header * List [https://wjghj.cn](wjghj.cn)