From b167c41d81c6a2c2db34ef68f72e69af426b97cb Mon Sep 17 00:00:00 2001 From: Laurent Franceschetti Date: Sun, 30 Apr 2023 14:54:30 +0200 Subject: [PATCH] Minor modifications (comments + github shield) --- README.md | 1 + mermaid2/plugin.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 10749ad..c83af76 100755 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![PyPI](https://img.shields.io/pypi/v/mkdocs-mermaid2-plugin)](https://pypi.org/project/mkdocs-mermaid2-plugin/) +![Github](https://img.shields.io/github/v/tag/fralau/mkdocs-mermaid2-plugin?label=github%20tag) ![Downloads(PyPI)](https://img.shields.io/pypi/dm/mkdocs-mermaid2-plugin) diff --git a/mermaid2/plugin.py b/mermaid2/plugin.py index 4537dc4..81b8b0b 100755 --- a/mermaid2/plugin.py +++ b/mermaid2/plugin.py @@ -64,7 +64,7 @@ def full_config(self): @property def mermaid_args(self): """ - The arguments for mermaid. + The arguments for mermaid, found in the config file. """ return self._mermaid_args @@ -249,13 +249,13 @@ def on_post_page(self, output_content, config, page, **kwargs): new_tag = BeautifulSoup(self.mermaid_script, 'html.parser') soup.body.append(new_tag) # info(new_tag) - # initialization command + # insertion of the