1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-14 10:57:41 +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> </script>
{% endblock %} {% endblock %}
{% block scripts %} {% 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 %} {% for script in config.extra_javascript %}
{{ script | script_tag }} {{ script | script_tag }}
{% endfor %} {% endfor %}

View File

@ -113,7 +113,7 @@ export function mountMermaid(
const text = el.textContent const text = el.textContent
/* Render and inject diagram */ /* 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 */ /* Create a shadow root and inject diagram */
const shadow = host.attachShadow({ mode: "closed" }) const shadow = host.attachShadow({ mode: "closed" })