|
@@ -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: }
|