Skip to content

Commit 5f14286

Browse files
committed
Merge branch 'st4-develop'
2 parents e5f5c80 + 31054ae commit 5f14286

30 files changed

Lines changed: 3237 additions & 744 deletions

‎.gitattributes‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ make.cmd export-ignore
1919
.editorconfig export-ignore
2020
.flake8 export-ignore
2121
pyproject.toml export-ignore
22+
23+
# Syntax
24+
syntaxes/*.py export-ignore

‎Default (Linux).sublime-keymap‎

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,17 @@
848848
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^[\\s>]*[-+*][ ]\\[[ xX]\\]\\s+(?:\\S|$)", "match_all": true }
849849
]
850850
},
851+
// Terminate lists (also in block quotes)
852+
{ "keys": ["ctrl+enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)*).*/\n$1\n$1/}"}, "context":
853+
[
854+
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.list", "match_all": true },
855+
]
856+
},
857+
{ "keys": ["ctrl+keypad_enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)*).*/\n$1\n$1/}"}, "context":
858+
[
859+
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.list", "match_all": true },
860+
]
861+
},
851862
// Extend lists (also in block quotes)
852863
{ "keys": ["enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^(?:\\s*((?:>\\s*)*)([-+*])(\\s+)).*/\n$1$2$3/}"}, "context":
853864
[
@@ -1134,40 +1145,40 @@
11341145
{ "keys": ["enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)+).*/\n$1/}"}, "context":
11351146
[
11361147
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true },
1137-
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(?:>\\s*)+(?![-+*>#\\s]|\\d+[.)])", "match_all": true },
1148+
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "^\\s*(?:>\\s*)+(?:[-+*#]\\s|\\d+[.)])", "match_all": true },
11381149
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
11391150
]
11401151
},
11411152
{ "keys": ["keypad_enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)+).*/\n$1/}"}, "context":
11421153
[
11431154
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true },
1144-
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(?:>\\s*)+(?![-+*>#\\s]|\\d+[.)])", "match_all": true },
1155+
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "^\\s*(?:>\\s*)+(?:[-+*#]\\s|\\d+[.)])", "match_all": true },
11451156
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
11461157
]
11471158
},
11481159
{ "keys": ["enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)+).*/\n$1/}"}, "context":
11491160
[
11501161
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true },
1151-
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(?:>\\s*)+(?![-+*>#\\s]|\\d+[.)])", "match_all": true },
1162+
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "^\\s*(?:>\\s*)+(?:[-+*#]\\s|\\d+[.)])", "match_all": true },
11521163
{ "key": "setting.auto_complete_commit_on_tab" }
11531164
]
11541165
},
11551166
{ "keys": ["keypad_enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)+).*/\n$1/}"}, "context":
11561167
[
11571168
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true },
1158-
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(?:>\\s*)+(?![-+*>#\\s]|\\d+[.)])", "match_all": true },
1169+
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "^\\s*(?:>\\s*)+(?:[-+*#]\\s|\\d+[.)])", "match_all": true },
11591170
{ "key": "setting.auto_complete_commit_on_tab" }
11601171
]
11611172
},
11621173
// Terminate blockquote
11631174
{ "keys": ["ctrl+enter"], "command": "insert_snippet", "args": {"contents": "\n\n"}, "context":
11641175
[
1165-
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true }
1176+
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote - text.html.markdown markup.list", "match_all": true }
11661177
]
11671178
},
11681179
{ "keys": ["ctrl+keypad_enter"], "command": "insert_snippet", "args": {"contents": "\n\n"}, "context":
11691180
[
1170-
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true }
1181+
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote - text.html.markdown markup.list", "match_all": true }
11711182
]
11721183
},
11731184
// Terminate empty blockquote

‎Default (OSX).sublime-keymap‎

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,17 @@
848848
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^[\\s>]*[-+*][ ]\\[[ xX]\\]\\s+(?:\\S|$)", "match_all": true }
849849
]
850850
},
851+
// Terminate lists (also in block quotes)
852+
{ "keys": ["super+enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)*).*/\n$1\n$1/}"}, "context":
853+
[
854+
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.list", "match_all": true },
855+
]
856+
},
857+
{ "keys": ["super+keypad_enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)*).*/\n$1\n$1/}"}, "context":
858+
[
859+
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.list", "match_all": true },
860+
]
861+
},
851862
// Extend lists (also in block quotes)
852863
{ "keys": ["enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^(?:\\s*((?:>\\s*)*)([-+*])(\\s+)).*/\n$1$2$3/}"}, "context":
853864
[
@@ -1134,40 +1145,40 @@
11341145
{ "keys": ["enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)+).*/\n$1/}"}, "context":
11351146
[
11361147
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true },
1137-
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(?:>\\s*)+(?![-+*>#\\s]|\\d+[.)])", "match_all": true },
1148+
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "^\\s*(?:>\\s*)+(?:[-+*#]\\s|\\d+[.)])", "match_all": true },
11381149
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
11391150
]
11401151
},
11411152
{ "keys": ["keypad_enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)+).*/\n$1/}"}, "context":
11421153
[
11431154
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true },
1144-
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(?:>\\s*)+(?![-+*>#\\s]|\\d+[.)])", "match_all": true },
1155+
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "^\\s*(?:>\\s*)+(?:[-+*#]\\s|\\d+[.)])", "match_all": true },
11451156
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
11461157
]
11471158
},
11481159
{ "keys": ["enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)+).*/\n$1/}"}, "context":
11491160
[
11501161
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true },
1151-
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(?:>\\s*)+(?![-+*>#\\s]|\\d+[.)])", "match_all": true },
1162+
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "^\\s*(?:>\\s*)+(?:[-+*#]\\s|\\d+[.)])", "match_all": true },
11521163
{ "key": "setting.auto_complete_commit_on_tab" }
11531164
]
11541165
},
11551166
{ "keys": ["keypad_enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)+).*/\n$1/}"}, "context":
11561167
[
11571168
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true },
1158-
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(?:>\\s*)+(?![-+*>#\\s]|\\d+[.)])", "match_all": true },
1169+
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "^\\s*(?:>\\s*)+(?:[-+*#]\\s|\\d+[.)])", "match_all": true },
11591170
{ "key": "setting.auto_complete_commit_on_tab" }
11601171
]
11611172
},
11621173
// Terminate blockquote
11631174
{ "keys": ["super+enter"], "command": "insert_snippet", "args": {"contents": "\n\n"}, "context":
11641175
[
1165-
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true }
1176+
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote - text.html.markdown markup.list", "match_all": true }
11661177
]
11671178
},
11681179
{ "keys": ["super+keypad_enter"], "command": "insert_snippet", "args": {"contents": "\n\n"}, "context":
11691180
[
1170-
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true }
1181+
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote - text.html.markdown markup.list", "match_all": true }
11711182
]
11721183
},
11731184
// Terminate empty blockquote

‎Default (Windows).sublime-keymap‎

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,17 @@
849849
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^[\\s>]*[-+*][ ]\\[[ xX]\\]\\s+(?:\\S|$)", "match_all": true }
850850
]
851851
},
852+
// Terminate lists (also in block quotes)
853+
{ "keys": ["ctrl+enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)*).*/\n$1\n$1/}"}, "context":
854+
[
855+
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.list", "match_all": true },
856+
]
857+
},
858+
{ "keys": ["ctrl+keypad_enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)*).*/\n$1\n$1/}"}, "context":
859+
[
860+
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.list", "match_all": true },
861+
]
862+
},
852863
// Extend lists (also in block quotes)
853864
{ "keys": ["enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^(?:\\s*((?:>\\s*)*)([-+*])(\\s+)).*/\n$1$2$3/}"}, "context":
854865
[
@@ -1135,40 +1146,40 @@
11351146
{ "keys": ["enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)+).*/\n$1/}"}, "context":
11361147
[
11371148
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true },
1138-
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(?:>\\s*)+(?![-+*>#\\s]|\\d+[.)])", "match_all": true },
1149+
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "^\\s*(?:>\\s*)+(?:[-+*#]\\s|\\d+[.)])", "match_all": true },
11391150
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
11401151
]
11411152
},
11421153
{ "keys": ["keypad_enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)+).*/\n$1/}"}, "context":
11431154
[
11441155
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true },
1145-
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(?:>\\s*)+(?![-+*>#\\s]|\\d+[.)])", "match_all": true },
1156+
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "^\\s*(?:>\\s*)+(?:[-+*#]\\s|\\d+[.)])", "match_all": true },
11461157
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
11471158
]
11481159
},
11491160
{ "keys": ["enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)+).*/\n$1/}"}, "context":
11501161
[
11511162
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true },
1152-
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(?:>\\s*)+(?![-+*>#\\s]|\\d+[.)])", "match_all": true },
1163+
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "^\\s*(?:>\\s*)+(?:[-+*#]\\s|\\d+[.)])", "match_all": true },
11531164
{ "key": "setting.auto_complete_commit_on_tab" }
11541165
]
11551166
},
11561167
{ "keys": ["keypad_enter"], "command": "insert_snippet", "args": {"contents": "${TM_CURRENT_LINE/^\\s*((?:>\\s*)+).*/\n$1/}"}, "context":
11571168
[
11581169
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true },
1159-
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(?:>\\s*)+(?![-+*>#\\s]|\\d+[.)])", "match_all": true },
1170+
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "^\\s*(?:>\\s*)+(?:[-+*#]\\s|\\d+[.)])", "match_all": true },
11601171
{ "key": "setting.auto_complete_commit_on_tab" }
11611172
]
11621173
},
11631174
// Terminate blockquote
11641175
{ "keys": ["ctrl+enter"], "command": "insert_snippet", "args": {"contents": "\n\n"}, "context":
11651176
[
1166-
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true }
1177+
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote - text.html.markdown markup.list", "match_all": true }
11671178
]
11681179
},
11691180
{ "keys": ["ctrl+keypad_enter"], "command": "insert_snippet", "args": {"contents": "\n\n"}, "context":
11701181
[
1171-
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote", "match_all": true }
1182+
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.quote - text.html.markdown markup.list", "match_all": true }
11721183
]
11731184
},
11741185
// Terminate empty blockquote

‎docs/linting.md‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,21 @@ Every rule is a subclass of `mdddef`. Here is an example:
4848

4949
```python
5050
class md001(mddef):
51-
flag = re.M # re.M is for multiline mode
52-
desc = 'Header levels should only increment by one level at a time'
53-
locator = r'^#{1,6}(?!#)' # This is for atx and atx_closed style headers
51+
flag = re.M # re.M is for multiline mode
52+
desc = "Header levels should only increment by one level at a time"
53+
locator = r"^#{1,6}(?!#)" # This is for atx and atx_closed style headers
5454

55-
lastMatch = None # We are comparing two successive headers, so we
56-
# need to store the previous one
55+
lastMatch = None # We are comparing two successive headers, so we
56+
# need to store the previous one
5757

5858
def test(self, text, s, e):
5959
ret = {}
6060
if self.lastMatch:
61-
n1 = len(self.lastMatch) # the length of the captured group
62-
n2 = e - s # is the level of the header
61+
n1 = len(self.lastMatch) # the length of the captured group
62+
n2 = e - s # is the level of the header
6363
if n2 > n1 and n2 != n1 + 1:
64-
ret[s] = 'expected %d, %d found' % (n1 + 1, n2)
65-
self.lastMatch = text[s: e]
64+
ret[s] = f"expected {n1 + 1}, {n2} found"
65+
self.lastMatch = text[s:e]
6666
return ret
6767
```
6868

‎plugin.py‎

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
33
This module exports __all__ modules, which Sublime Text needs to know about.
44
"""
5-
__version__ = "3.5.0"
5+
6+
__version__ = "3.6.4"
67

78
import sys
89

@@ -21,10 +22,7 @@
2122
from .plugins.color_schemes import (
2223
MdeSelectColorSchemeCommand,
2324
)
24-
from .plugins.critic import (
25-
MdeGotoNextCriticCommand,
26-
MdeGotoPrevCriticCommand
27-
)
25+
from .plugins.critic import MdeGotoNextCriticCommand, MdeGotoPrevCriticCommand
2826
from .plugins.folding import (
2927
MdeAutoFoldListener,
3028
MdeFoldAllSectionsCommand,
@@ -40,9 +38,9 @@
4038
MdeGotoFootnoteReferenceCommand,
4139
MdeInsertFootnoteCommand,
4240
MdeMagicFootnotesCommand,
41+
MdeMarkFootnotesListener,
4342
MdeSortFootnotesCommand,
4443
MdeSwitchToFromFootnoteCommand,
45-
MdeMarkFootnotesListener,
4644
)
4745
from .plugins.headings import (
4846
MdeChangeHeadingsLevelCommand,
@@ -55,28 +53,30 @@
5553
MdeMatchHeadingHashesDetector,
5654
MdeUnsavedViewNameSetter,
5755
)
56+
from .plugins.lint import (
57+
MdeMarkdownLintCommand,
58+
MdeMarkdownLintMdlCommand,
59+
)
5860
from .plugins.lists import (
5961
MdeIndentListItemCommand,
60-
MdeUnindentListItemCommand,
61-
MdeNumberListCommand,
62-
MdeSwitchListBulletTypeCommand,
6362
MdeInsertTaskListItemCommand,
63+
MdeJoinLines,
64+
MdeNumberListCommand,
6465
MdeResetTaskListItemsCommand,
66+
MdeSwitchListBulletTypeCommand,
6567
MdeToggleTaskListItemCommand,
66-
MdeJoinLines,
67-
)
68-
from .plugins.lint import (
69-
MdeMarkdownLintCommand,
70-
MdeMarkdownLintMdlCommand,
68+
MdeUnindentListItemCommand,
7169
)
7270
from .plugins.quotes import (
7371
MdeIndentQuote,
7472
MdeUnindentQuote,
7573
)
7674
from .plugins.references import (
75+
MdeAddNumberedReferenceDefinitionCommand,
7776
MdeConvertInlineLinksToReferencesCommand,
7877
MdeConvertInlineLinkToReferenceCommand,
7978
MdeGatherMissingLinkMarkersCommand,
79+
MdeReferenceCompletionsProvider,
8080
MdeReferenceDeleteReferenceCommand,
8181
MdeReferenceJumpCommand,
8282
MdeReferenceJumpContextCommand,
@@ -86,13 +86,11 @@
8686
MdeReferenceNewInlineLinkCommand,
8787
MdeReferenceNewReferenceCommand,
8888
MdeReferenceOrganizeCommand,
89-
MdeAddNumberedReferenceDefinitionCommand,
90-
MdeReferenceCompletionsProvider,
9189
)
9290
from .plugins.view import (
91+
MdeCenteredLineKeeper,
9392
MdeReplaceSelectedCommand,
9493
MdeToggleCenteredLineCommand,
95-
MdeCenteredLineKeeper,
9694
)
9795
from .plugins.wiki_page import (
9896
MdeListBackLinksCommand,
@@ -108,15 +106,18 @@ def plugin_loaded():
108106
def worker():
109107
from .plugins.bootstrap import on_after_install
110108
from .plugins.logging import load_logger
109+
111110
load_logger()
112111
on_after_install()
113112

114113
from sublime import set_timeout
114+
115115
set_timeout(worker, 100)
116116

117117

118118
def plugin_unloaded():
119119
from .plugins.bootstrap import on_before_uninstall
120120
from .plugins.logging import unload_logger
121+
121122
unload_logger()
122123
on_before_uninstall()

‎plugins/__init__.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
__version__ = "3.5.0"

‎plugins/bootstrap.py‎

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
import shutil
2-
import sys
3-
42
from pathlib import Path
53
from typing import cast
64

75
import sublime
86

9-
from .color_schemes import clear_color_schemes
10-
from .color_schemes import clear_invalid_color_schemes
11-
from .color_schemes import select_color_scheme
7+
from .color_schemes import clear_color_schemes, clear_invalid_color_schemes, select_color_scheme
128

139
BOOTSTRAP_VERSION = "3.0.3"
1410

@@ -39,7 +35,7 @@ def augment_default_markdown():
3935
pass
4036

4137
from textwrap import dedent
42-
from zipfile import ZipFile, ZIP_DEFLATED
38+
from zipfile import ZIP_DEFLATED, ZipFile
4339

4440
def load_res(syntax):
4541
return (
@@ -57,16 +53,14 @@ def load_res(syntax):
5753
"Markdown.sublime-syntax",
5854
load_res("Markdown.sublime-syntax").replace(
5955
"\nhidden: true\n",
60-
dedent(
61-
"""
56+
dedent("""
6257
6358
file_extensions:
6459
- md
6560
- mdown
6661
- markdown
6762
- markdn
68-
"""
69-
),
63+
"""),
7064
),
7165
)
7266
# copy unhidden MultiMarkdown syntax
@@ -76,12 +70,10 @@ def load_res(syntax):
7670
)
7771
pkg.writestr(
7872
"README.md",
79-
dedent(
80-
"""
73+
dedent("""
8174
This package is auto-generated by MarkdownEditing
8275
to augment ST's default Markdown syntax.
83-
"""
84-
).lstrip(),
76+
""").lstrip(),
8577
)
8678
pkg.writestr("AUTOGENERATED", __version__)
8779

0 commit comments

Comments
 (0)