Skip to content

Commit 8552c3b

Browse files
committed
fix broken links in docs
1 parent eeb509d commit 8552c3b

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

docs/change_log/release-2.4.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ What's New in Python-Markdown 2.4
5050
Blocks] section for details. Thanks to [ryneeverett] for implementing this
5151
feature.
5252

53-
[Markdown Inside HTML Blocks]: ../extensions/extra.md#nested-markdown-inside-html-blocks
53+
[Markdown Inside HTML Blocks]: ../extensions/md_in_html.md
5454
[ryneeverett]: https://github.com/ryneeverett
5555

5656
* The code blocks now support emphasizing some of the code lines. To use this

docs/change_log/release-2.5.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Backwards-incompatible Changes
103103
a string to the extension name will be deprecated in Python-Markdown
104104
version 2.6 and will raise a **`PendingDeprecationWarning`** in 2.5. The
105105
[`extension_configs`](../reference.md#extension_configs) keyword should
106-
be used instead. See the [documentation](../reference.md#extension-configs)
106+
be used instead. See the [documentation](../reference.md#extension_configs)
107107
for a full explanation of the current behavior.
108108

109109
What's New in Python-Markdown 2.5

docs/change_log/release-2.6.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ The previously documented method of appending the extension configuration
137137
options as a string to the extension name is deprecated and will raise a
138138
**`DeprecationWarning`** in version 2.6 and an error in 2.7. The
139139
[`extension_configs`](../reference.md#extension_configs) keyword should be used
140-
instead. See the [documentation](../reference.md#extension-configs) for a full
140+
instead. See the [documentation](../reference.md#extension_configs) for a full
141141
explanation of the current behavior.
142142

143143
### HeaderId Extension Pending Deprecation
@@ -214,7 +214,7 @@ Note the call to `super` to get the benefits of configuration handling from the
214214
parent class. See the [documentation][config] for more information.
215215

216216
[config]: ../extensions/api.md#configsettings
217-
[mext]: ../extensions/api.md#makeextension
217+
[mext]: ../extensions/api.md#dot_notation
218218

219219
## What's New in Python-Markdown 2.6
220220

docs/extensions/api.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ When `markdown.Markdown` is passed the "name" of your extension as a dot notatio
801801
(for example `path.to.module`), it will import the module and call the `makeExtension` function to initiate your
802802
extension.
803803

804-
## Registries
804+
## Registries { #registry }
805805

806806
The `markdown.util.Registry` class is a priority sorted registry which Markdown uses internally to determine the
807807
processing order of its various processors and patterns.
@@ -884,3 +884,4 @@ assert someitem in registry
884884
[setuptools]: https://packaging.python.org/key_projects/#setuptools
885885
[Entry points]: https://setuptools.readthedocs.io/en/latest/setuptools.html#dynamic-discovery-of-services-and-plugins
886886
[Packaging and Distributing Projects]: https://packaging.python.org/tutorials/distributing-packages/
887+
[Inline Patterns]: #inline-patterns

docs/extensions/md_in_html.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ enabled, the content of a raw HTML block-level element can be parsed as Markdown
1313
on the opening tag. The `markdown` attribute will be stripped from the output, while all other attributes will be
1414
preserved.
1515

16-
The `markdown` attribute can be assigned one of three values: [`"1"`](#1), [`"block"`](#block), or [`"span"`](#span).
16+
The `markdown` attribute can be assigned one of three values: [`"1"`](#markdown1), [`"block"`](#block), or [`"span"`](#span).
1717

1818
!!! note
1919

2020
The expressions "block-level" and "span-level" as used in this document refer to an element's designation
2121
according to the HTML specification. Whereas the `"span"` and `"block"` values assigned to the `markdown`
2222
attribute refer to the Markdown parser's behavior.
2323

24-
### `markdown="1"` { #1 }
24+
### `markdown="1"` { #markdown1 }
2525

2626
When the `markdown` attribute is set to `"1"`, then the parser will use the default behavior for that specific tag.
2727

0 commit comments

Comments
 (0)