H1
H2
H3
H4
H5
H6
默认字号字体
加粗
斜体
斜体
加粗斜体
内容颜色背景
内容加边
再加边
再再加边
再再再加边
注意事项"内容后面有两个空格"
缩进
![]()
1.H1内容
2.加粗斜体内容
- 3.内容
颜色背景 - 4.我是链接
- 内容1
- 内容2
- 内容(注意这里的Markdown源代码)
- 内容x
下面是表格
| head1 | head2 | head3 | head4 |
|---|---|---|---|
| row1text1 | row1text2 | row1text3 | row1text4 |
| row2text1 | row2text2 | row2text3 | row2text4 |
| row3text1 | row3text2 | row3text3 | row3text4 |
{% highlight c %}
/* hello world demo 禁止解析*/
#include
int main(int argc, char **argv)
{
printf("Hello, World!\n");
return 0;
}
{% endhighlight %}
|
|
function helloSyntaxHighlighter()
{
return "hi!";
}
function helloSyntaxHighlighter()
{
return "hi!";
}
/*http://comtu.githut.io*/
class SingletonTest {
private static class SingletonHolder {
private static final SingletonTest INSTANCE = new SingletonTest();
}
private SingletonTest() {
}
public static final SingletonTest getInstance() {
return SingletonHolder.INSTANCE;
}
}
/**
* 枚举_单例
*/
enum SingletonEnum {
INSTANCE;
public void whateverMethod() {
}
}
使用 pre 方式高亮 . 不支持 < 符号,需要进行转义为 < ; (但能很好的支持RSS订阅)
<html>
<body>
<div style="font-weight: bold"><?= str_replace("\n", "<br/>", $var) ?></div>
<?
/***********************************
** Multiline block comments
**********************************/
$stringWithUrl = "http://alexgorbatchev.com";
$stringWithUrl = 'http://alexgorbatchev.com';
ob_start("parseOutputBuffer"); // Start Code Buffering
session_start();
?>
</body>
</html>
视频
Markdown 免费编辑器
Windows 平台
Linux 平台
Mac 平台
在线编辑器
浏览器插件
- MaDe (Chrome)
高级应用
最新评论
最近访客
注: 更换主题后~~不再支持使用 SyntaxHihglighter 高亮