Skip to content

Commit b31563c

Browse files
authored
Merge pull request #40 from neatc0der/fix/extendMarkdown
Fix/extendMarkdown
2 parents 6fbc63c + c9d70a4 commit b31563c

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This is a plugin and an extension for [mkdocs](https://github.com/mkdocs/mkdocs/
1515
This plugin was tested with, but is not limited to:
1616

1717
* Python 3.9
18-
* mkdocs 1.1
18+
* mkdocs 1.3
1919

2020
## Quickstart
2121

@@ -112,7 +112,7 @@ extra_javascript:
112112
- js/markmap-view.js
113113
```
114114
115-
### Usage of proxy is prevent download of javascript files
115+
### Usage of proxy is preventing download of javascript files
116116
117117
Usually proxies should be supported by `requests`, which is used for downloading all required javascript files. If the issue remains, try downloading the files yourself and store them accordingly (see [Static javascript files not working](#static-javascript-files-not-working))
118118

changelog/v2.2.2.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# v2.2.2
2+
3+
* Fixes [API issue with Markdown 3.4+](https://github.com/neatc0der/mkdocs-markmap/issues/39)

mkdocs_markmap/__meta__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PACKAGE_NAME: str = 'mkdocs_markmap'
22
PROJECT_NAME: str = PACKAGE_NAME.replace('_', '-')
3-
PROJECT_VERSION: str = '2.2.1'
3+
PROJECT_VERSION: str = '2.2.2'
44

55
OWNER: str = 'neatc0der'
66
REPOSITORY_NAME: str = f'{OWNER}/{PROJECT_NAME}'

mkdocs_markmap/extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(self, **configs: Dict[str, str]):
9090
for key, value in configs.items():
9191
self.setConfig(key, value)
9292

93-
def extendMarkdown(self, md: Markdown, md_globals: Dict[str, str]) -> None:
93+
def extendMarkdown(self, md: Markdown) -> None:
9494
md.preprocessors.register(MarkmapPreprocessor(md, self.getConfigs()), 'include_markmap', 102)
9595
for extension in md.registeredExtensions:
9696
if extension.__class__.__name__ == 'SuperFencesCodeExtension':

requirements/prod.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
mkdocs>=1.1,<2
1+
mkdocs>=1.3,<2
22
attrs==20.3.0
33
beautifulsoup4>=4.6.3
4-
requests==2.25.1
4+
requests<3
5+

0 commit comments

Comments
 (0)