Skip to content
Discussion options

You must be logged in to vote

Here's the final solution which I'll mark as answer, but it must be made clear that this would never have happened without the help from @kamilkrzyskow so they should get all the credit for this thread. 🙏

overrides/main.html:

{% extends "base.html" %}
{% block scripts %}
    <!-- Save :octicons-link-16: to var for use by extra.js -->
    <script>
        const OCTICONS_LINK_16_SVG = '{% include ".icons/octicons/link-16.svg" %}';
    </script>
    {{ super() }}
{% endblock %}

docs/javascripts/extra.js:

// The following block adds a new button next to the buttons described at https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#code-actions
// The new button copies the…

Replies: 1 comment 15 replies

Comment options

You must be logged in to vote
15 replies
@ryran
Comment options

@kamilkrzyskow
Comment options

@ryran
Comment options

@ryran
Comment options

Answer selected by ryran
@ryran
Comment options

@alexvoss
Comment options

alexvoss Mar 3, 2024
Collaborator Sponsor

@kamilkrzyskow
Comment options

@squidfunk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants