Skip to content

Commit 2bcd3ac

Browse files
committed
1
1 parent c522ca2 commit 2bcd3ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/markdown/page.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@
3838
const markdown = this.responseText;
3939
//marked
4040
//const html = marked.parse(markdown); // marked
41-
//showdown
41+
//showdown
4242
const converter = new showdown.Converter();
43+
converter.setFlavor('github');
4344
const html = converter.makeHtml(markdown);
4445
document.getElementById(markdown_view_id).innerHTML = html;
4546
}

0 commit comments

Comments
 (0)