Skip to content

Commit 4665359

Browse files
committed
是
1 parent ed89dcf commit 4665359

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎_includes/themes/twitter/post.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ <h1>{{ page.title }} {% if page.tagline %}<small>{{page.tagline}}</small>{% endi
5454

5555
var tmp = $("#md").html();
5656
alert(tmp);
57-
var tmp2 = tmp.replace(/~~\{(.*)\}\n([\s\S]*?)~~\n/m, "<pre><code class=\"language-$1\">$2</code></pre>");
58-
57+
var tmp2 = tmp.replace(<pre><code>\n\/\/(.*)\n([\s\S]*?)</code></pre>\n, "<pre><code class=\"language-$1\">$2</code></pre>");
58+
alert(tmp2);
5959
while(tmp!=tmp2)
6060
{
6161

‎_posts/2014-05-23-md测试.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ test `test`
3333

3434

3535

36-
~~~~{java}
37-
public static void main(String[]args)
38-
{
39-
//注释
40-
System.out.println("你好");
41-
}
42-
~~~~
36+
//java
37+
public static void main(String[]args)
38+
{
39+
//注释
40+
System.out.println("你好");
41+
}
42+
4343

4444
---code---{java}
4545
public static void main(String[]args)

0 commit comments

Comments
 (0)