diff --git a/docs/contributing.md b/docs/contributing.md
index 9469d0ee..0495ad1e 100644
--- a/docs/contributing.md
+++ b/docs/contributing.md
@@ -29,7 +29,7 @@ It can be setup by:
Editors like VS Code also have automatic code reformat utilities, which can adhere to this standard.
All functions and class methods should be annotated with types and include a docstring.
-The prefered docstring format is outlined in `markdown-it-py/docstring.fmt.mustache` and can be used automatically with the [autodocstring](https://marketplace.visualstudio.com/items?itemName=njpwerner.autodocstring) VS Code extension.
+The preferred docstring format is outlined in `markdown-it-py/docstring.fmt.mustache` and can be used automatically with the [autodocstring](https://marketplace.visualstudio.com/items?itemName=njpwerner.autodocstring) VS Code extension.
## Testing
diff --git a/markdown_it/common/html_blocks.py b/markdown_it/common/html_blocks.py
index 4246f788..8b199af3 100644
--- a/markdown_it/common/html_blocks.py
+++ b/markdown_it/common/html_blocks.py
@@ -1,4 +1,4 @@
-"""List of valid html blocks names, accorting to commonmark spec
+"""List of valid html blocks names, according to commonmark spec
http://jgm.github.io/CommonMark/spec.html#html-blocks
"""
diff --git a/markdown_it/port.yaml b/markdown_it/port.yaml
index 6c3b06c1..a6718fda 100644
--- a/markdown_it/port.yaml
+++ b/markdown_it/port.yaml
@@ -45,5 +45,5 @@
`MarkdownIt.add_render_rule(name, function, fmt="html")`,
rather than `MarkdownIt.renderer.rules[name] = function`
and renderers should declare a class property `__output__ = "html"`.
- This allows for extensability to more than just HTML renderers
+ This allows for extensibility to more than just HTML renderers
- inline tokens in tables are assigned a map (this is helpful for propagation to children)
diff --git a/markdown_it/presets/default.py b/markdown_it/presets/default.py
index 3f347913..59f4855e 100644
--- a/markdown_it/presets/default.py
+++ b/markdown_it/presets/default.py
@@ -23,7 +23,7 @@ def make():
"breaks": False, # Convert '\n' in paragraphs into
"langPrefix": "language-", # CSS language prefix for fenced blocks
# Highlighter function. Should return escaped HTML,
- # or '' if the source string is not changed and should be escaped externaly.
+ # or '' if the source string is not changed and should be escaped externally.
# If result starts with
Note that rules #1 and #2 only apply to two cases: (a) cases in which the lines to be included in a list item begin with a -characer other than a space or tab, and (b) cases in which +character other than a space or tab, and (b) cases in which they begin with an indented code block. In a case like the following, where the first block begins with three spaces of indentation, the rules do not allow us to form a list item by diff --git a/tests/test_port/fixtures/fatal.md b/tests/test_port/fixtures/fatal.md index dfeeb2e7..7b2afcfc 100644 --- a/tests/test_port/fixtures/fatal.md +++ b/tests/test_port/fixtures/fatal.md @@ -1,4 +1,4 @@ -Should not throw exception on invalid chars in URL (`*` not allowed in path) [mailformed URI] +Should not throw exception on invalid chars in URL (`*` not allowed in path) [malformed URI] . [foo](<%test>) . @@ -6,7 +6,7 @@ Should not throw exception on invalid chars in URL (`*` not allowed in path) [ma . -Should not throw exception on broken utf-8 sequence in URL [mailformed URI] +Should not throw exception on broken utf-8 sequence in URL [malformed URI] . [foo](%C3) . @@ -14,7 +14,7 @@ Should not throw exception on broken utf-8 sequence in URL [mailformed URI] . -Should not throw exception on broken utf-16 surrogates sequence in URL [mailformed URI] +Should not throw exception on broken utf-16 surrogates sequence in URL [malformed URI] . [foo]() .