@@ -335,7 +335,7 @@ const syntax = {
heading1: {
paired: true,
recursive: true,
- startRegexp: /\n#[ \t]*([^\[]*)(\[#(\S*)[ \t]*(.*)\])?\n/,
+ startRegexp: /\n#[ \t]*([^\[]*)(\[#(\S*)[ \t]*(.*)\])?\n/gm,
endRegexp: /\n#\s/,
content: {
start: {