1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-23 23:21:00 +01:00

Fixed linter errors

This commit is contained in:
squidfunk 2023-11-26 13:00:18 +01:00
parent b5cf38f3d9
commit 494f5570de
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
6 changed files with 11 additions and 47 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -252,7 +252,7 @@
</script>
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/bundle.9dafaff0.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.50eae0f4.min.js' | url }}"></script>
{% for script in config.extra_javascript %}
{{ script | script_tag }}
{% endfor %}

View File

@ -113,7 +113,7 @@ export function mountMermaid(
const text = el.textContent
/* Render and inject diagram */
const { svg, fn } = await mermaid.render(id, text);
const { svg, fn } = await mermaid.render(id, text)
/* Create a shadow root and inject diagram */
const shadow = host.attachShadow({ mode: "closed" })