Ivan Asmer 4 anos atrás
pai
commit
dac84d96d9
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      index.mjs

+ 2 - 2
index.mjs

@@ -28,7 +28,7 @@ const syntax = {
     img:{
         paired: true,
         recursive: false,
-        startRegexp: /!\[(.*)\]\(/,
+        startRegexp: /!(\s*)\[(.*)\]\(/,
         endRegexp: /\)/,
         content: {
             start: {
@@ -46,7 +46,7 @@ const syntax = {
             offset: 1
         },
         title: {
-            //index: 1,
+            index: 2,
             recursive: false,
         },
         onbuild(md, mdTags, buildAST){ //this = {tag: }