-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad handling of block arguments #207
Comments
Sorry, wrong project (too much browser tabs open...). I'll close this issue and move it to GitBook instead. |
mgenereu
pushed a commit
to mgenereu/mermaid
that referenced
this issue
Jun 25, 2022
…yarn/develop/postcss-8.3.2 Bump postcss from 8.3.0 to 8.3.2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
args and kwargs fields of block object are incorrectly filled. When using a single argument like
{% mermaid "user.mmd" %}{% endmermaid %}
, the block object get filled asand when using two arguments like
{% mermaid "user.mmd", "2" %}{% endmermaid %}
it gets filled asAccording to the docs, positional arguments should be filled in
args
always, that makes sense. Keyword arguments ({% mermaid src="user.mmd" %}{% endmermaid %}
) seems to works as expected:By the way, I think that
__keywords
field is mostly useless...The text was updated successfully, but these errors were encountered: