Skip to content

Commit 6a38f99

Browse files
committed
Syntax: Fix indentation and whitespace
1 parent 7fdb998 commit 6a38f99

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

syntaxes/Markdown.sublime-syntax

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2568,9 +2568,9 @@ contexts:
25682568
- meta_scope: markup.bold.markdown
25692569
- match: |-
25702570
(?x)
2571-
[ \t]*\*{4,} # if there are more than 3 its not applicable to be bold or italic
2572-
| [ \t]+\*\*+ # whitespace followed by 2 or more is also not applicable
2573-
| ^\*\* # emphasis can't be closed at the start of the line
2571+
[ \t]*\*{4,} # if there are more than 3 its not applicable to be bold or italic
2572+
| [ \t]+\*\*+ # whitespace followed by 2 or more is also not applicable
2573+
| ^\*\* # emphasis can't be closed at the start of the line
25742574
- match: (?:_)?(\*\*)
25752575
captures:
25762576
1: punctuation.definition.bold.end.markdown
@@ -2583,10 +2583,10 @@ contexts:
25832583
bold-underscore:
25842584
- meta_scope: markup.bold.markdown
25852585
- match: |-
2586-
(?x)
2587-
[ \t]*_{4,} # if there are more than 3 its not applicable to be bold or italic
2588-
| [ \t]+__+ # whitespace followed by 2 or more is also not applicable
2589-
| ^__ # emphasis can't be closed at the start of the line
2586+
(?x)
2587+
[ \t]*_{4,} # if there are more than 3 its not applicable to be bold or italic
2588+
| [ \t]+__+ # whitespace followed by 2 or more is also not applicable
2589+
| ^__ # emphasis can't be closed at the start of the line
25902590
- match: (?:\*)?(__\b)
25912591
captures:
25922592
1: punctuation.definition.bold.end.markdown
@@ -2601,9 +2601,9 @@ contexts:
26012601
- meta_content_scope: markup.italic.markdown
26022602
- match: |-
26032603
(?x)
2604-
[ \t]*\*{4,} # if there are more than 3 its not applicable to be bold or italic
2605-
| [ \t]+\*(?!\*) # whitespace followed by 1 is also not applicable (but whitespace followed by 2 could be bold punctuation)
2606-
| ^\*(?!\*) # emphasis can't be closed at the start of the line
2604+
[ \t]*\*{4,} # if there are more than 3 its not applicable to be bold or italic
2605+
| [ \t]+\*(?!\*) # whitespace followed by 1 is also not applicable (but whitespace followed by 2 could be bold punctuation)
2606+
| ^\*(?!\*) # emphasis can't be closed at the start of the line
26072607
- match: (\*)(\*\*)
26082608
captures:
26092609
1: markup.italic.markdown punctuation.definition.italic.end.markdown
@@ -2622,9 +2622,9 @@ contexts:
26222622
- meta_content_scope: markup.bold.markdown
26232623
- match: |-
26242624
(?x)
2625-
[ \t]*\*{3,} # if there are more than 3 its not applicable to be bold or italic
2626-
| [ \t]+\*\*+ # whitespace followed by 1 is also not applicable (but whitespace followed by 2 could be bold punctuation)
2627-
| ^\*\* # emphasis can't be closed at the start of the line
2625+
[ \t]*\*{3,} # if there are more than 3 its not applicable to be bold or italic
2626+
| [ \t]+\*\*+ # whitespace followed by 1 is also not applicable (but whitespace followed by 2 could be bold punctuation)
2627+
| ^\*\* # emphasis can't be closed at the start of the line
26282628
- match: \*\*
26292629
scope: markup.bold.markdown punctuation.definition.bold.end.markdown
26302630
pop: true
@@ -2634,9 +2634,9 @@ contexts:
26342634
- meta_content_scope: markup.italic.markdown
26352635
- match: |-
26362636
(?x)
2637-
[ \t]*\*{3,} # if there are more than 3 its not applicable to be bold or italic
2638-
| [ \t]+\*\*+ # whitespace followed by 1 is also not applicable (but whitespace followed by 2 could be bold punctuation)
2639-
| ^\*\* # emphasis can't be closed at the start of the line
2637+
[ \t]*\*{3,} # if there are more than 3 its not applicable to be bold or italic
2638+
| [ \t]+\*\*+ # whitespace followed by 1 is also not applicable (but whitespace followed by 2 could be bold punctuation)
2639+
| ^\*\* # emphasis can't be closed at the start of the line
26402640
- match: \*
26412641
scope: markup.italic.markdown punctuation.definition.italic.end.markdown
26422642
pop: true
@@ -2647,9 +2647,9 @@ contexts:
26472647
- meta_content_scope: markup.italic.markdown
26482648
- match: |-
26492649
(?x)
2650-
[ \t]*_{4,} # if there are more than 3 its not applicable to be bold or italic
2651-
| [ \t]+_(?!_) # whitespace followed by 1 is also not applicable (but whitespace followed by 2 could be bold punctuation)
2652-
| ^_(?!_) # emphasis can't be closed at the start of the line
2650+
[ \t]*_{4,} # if there are more than 3 its not applicable to be bold or italic
2651+
| [ \t]+_(?!_) # whitespace followed by 1 is also not applicable (but whitespace followed by 2 could be bold punctuation)
2652+
| ^_(?!_) # emphasis can't be closed at the start of the line
26532653
- match: (_)(__)\b
26542654
captures:
26552655
1: markup.italic.markdown punctuation.definition.italic.end.markdown
@@ -2667,10 +2667,10 @@ contexts:
26672667
bold-after-bold-italic-underscore:
26682668
- meta_content_scope: markup.bold.markdown
26692669
- match: |-
2670-
(?x)
2671-
[ \t]*_{3,} # if there are more than 3 its not applicable to be bold or italic
2672-
| [ \t]+__+ # whitespace followed by 1 is also not applicable (but whitespace followed by 2 could be bold punctuation)
2673-
| ^__ # emphasis can't be closed at the start of the line
2670+
(?x)
2671+
[ \t]*_{3,} # if there are more than 3 its not applicable to be bold or italic
2672+
| [ \t]+__+ # whitespace followed by 1 is also not applicable (but whitespace followed by 2 could be bold punctuation)
2673+
| ^__ # emphasis can't be closed at the start of the line
26742674
- match: __\b
26752675
scope: markup.bold.markdown punctuation.definition.bold.end.markdown
26762676
pop: true
@@ -2679,10 +2679,10 @@ contexts:
26792679
italic-after-bold-italic-underscore:
26802680
- meta_content_scope: markup.italic.markdown
26812681
- match: |-
2682-
(?x)
2683-
[ \t]*_{3,} # if there are more than 3 its not applicable to be bold or italic
2684-
| [ \t]+__+ # whitespace followed by 1 is also not applicable (but whitespace followed by 2 could be bold punctuation)
2685-
| ^__ # emphasis can't be closed at the start of the line
2682+
(?x)
2683+
[ \t]*_{3,} # if there are more than 3 its not applicable to be bold or italic
2684+
| [ \t]+__+ # whitespace followed by 1 is also not applicable (but whitespace followed by 2 could be bold punctuation)
2685+
| ^__ # emphasis can't be closed at the start of the line
26862686
- match: _\b
26872687
scope: markup.italic.markdown punctuation.definition.italic.end.markdown
26882688
pop: true
@@ -2705,10 +2705,10 @@ contexts:
27052705
italic-asterisk:
27062706
- meta_scope: markup.italic.markdown
27072707
- match: |-
2708-
(?x)
2709-
[ \t]*\*{4,} # if there are more than 3 its not applicable to be bold or italic
2710-
| [ \t]+\*(?!\*) # whitespace followed by 1 is also not applicable (but whitespace followed by 2 could be bold punctuation)
2711-
| ^\*(?!\*) # emphasis can't be closed at the start of the line
2708+
(?x)
2709+
[ \t]*\*{4,} # if there are more than 3 its not applicable to be bold or italic
2710+
| [ \t]+\*(?!\*) # whitespace followed by 1 is also not applicable (but whitespace followed by 2 could be bold punctuation)
2711+
| ^\*(?!\*) # emphasis can't be closed at the start of the line
27122712
- match: \*(?!\*[^*])
27132713
scope: punctuation.definition.italic.end.markdown
27142714
pop: true
@@ -2718,10 +2718,10 @@ contexts:
27182718
italic-underscore:
27192719
- meta_scope: markup.italic.markdown
27202720
- match: |-
2721-
(?x)
2722-
[ \t]*_{4,} # if there are more than 3 its not applicable to be bold or italic
2723-
| [ \t]+_(?!_) # whitespace followed by 1 is also not applicable (but whitespace followed by 2 could be bold punctuation)
2724-
| ^_(?!_) # emphasis can't be closed at the start of the line
2721+
(?x)
2722+
[ \t]*_{4,} # if there are more than 3 its not applicable to be bold or italic
2723+
| [ \t]+_(?!_) # whitespace followed by 1 is also not applicable (but whitespace followed by 2 could be bold punctuation)
2724+
| ^_(?!_) # emphasis can't be closed at the start of the line
27252725
- match: _\b
27262726
scope: punctuation.definition.italic.end.markdown
27272727
pop: true

0 commit comments

Comments
 (0)