Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mondeja/mkdocs-include-markdown-plugin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.1.0
Choose a base ref
...
head repository: mondeja/mkdocs-include-markdown-plugin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.1.1
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jun 1, 2024

  1. Change substitions order of directives (#211)

    mondeja authored Jun 1, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    0abce62 View commit details
Showing with 5 additions and 5 deletions.
  1. +1 −1 pyproject.toml
  2. +4 −4 src/mkdocs_include_markdown_plugin/event.py
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "mkdocs-include-markdown-plugin"
version = "6.1.0"
version = "6.1.1"
description = "Mkdocs Markdown includer plugin."
readme = "README.md"
license = "Apache-2.0"
8 changes: 4 additions & 4 deletions src/mkdocs_include_markdown_plugin/event.py
Original file line number Diff line number Diff line change
@@ -624,12 +624,12 @@ def found_include_markdown_tag( # noqa: PLR0912, PLR0915

return text_to_include

markdown = tags['include'].sub(
found_include_tag,
markdown = tags['include-markdown'].sub(
found_include_markdown_tag,
markdown,
)
return tags['include-markdown'].sub(
found_include_markdown_tag,
return tags['include'].sub(
found_include_tag,
markdown,
)