소스 검색

Update compiler options

simov 9 년 전
부모
커밋
ce98a4466a
1개의 변경된 파일11개의 추가작업 그리고 5개의 파일을 삭제
  1. 11 5
      js/background/markdown.js

+ 11 - 5
js/background/markdown.js

@@ -3,14 +3,20 @@ var md = (function () {
   // marked
   var defaults = {
     gfm: true,
-    // highlight: null,
     tables: true,
     breaks: false,
     pedantic: false,
-    sanitize: true,
-    smartLists: true,
-    smartypants: false,
-    langPrefix: 'language-'//prism
+    sanitize: false,
+    // sanitizer: null,
+    // mangle: true, // mangling of email addresses
+    smartLists: false,
+    // silent: false, // report errors
+    // highlight: null,
+    langPrefix: 'language-', // prism
+    smartypants: false
+    // headerPrefix: '',
+    // renderer:
+    // xhtml: false // handle self closing HTML tags
   }
 
   function compile (markdown, sendResponse) {