Skip to content

Commit

Permalink
MarkDownに対応
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuichiro MASUI committed Feb 28, 2010
1 parent 48a826e commit 9924614
Show file tree
Hide file tree
Showing 4 changed files with 1,321 additions and 3 deletions.
6 changes: 6 additions & 0 deletions assets/show.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$(document).ready(function() {
var newWikiPages = $("#content .new-page").map(function(i, el){return $(el).attr("title");});
var text = $("#content").text();
converter = new Showdown.converter();
$("#content").html(converter.makeHtml(text, newWikiPages));
});
Loading

0 comments on commit 9924614

Please sign in to comment.