Ver código fonte

Fix config defaults

simov 6 anos atrás
pai
commit
92b10a0f45
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4 1
      background/storage.js

+ 4 - 1
background/storage.js

@@ -39,7 +39,10 @@ md.storage.defaults = (compilers) => {
   var match = '\\.(?:markdown|mdown|mkdn|md|mkd|mdwn|mdtxt|mdtext|text)(?:#.*|\\?.*)?$'
 
   var defaults = {
-    theme: 'github',
+    theme: {
+      name: 'github',
+      url: chrome.runtime.getURL('/themes/github.css')
+    },
     compiler: 'marked',
     raw: false,
     header: true,