mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-24 07:30:12 +01:00
Added ".highlighttable" as an alias for ".codehilitetable" (#800)
When codehilite is disabled, or if pymdownx.highlight is used instead of codehilite, the default class "highlight" is used instead of "codehilite". This also applies to the number table format that, and will use "highlighttable" instead of "codehilitetable".
This commit is contained in:
parent
f9298cf91f
commit
31e561201e
File diff suppressed because one or more lines are too long
@ -48,7 +48,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.4f4f49e8.css">
|
||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.ba0fd1a6.css">
|
||||
{% if palette.primary or palette.accent %}
|
||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-palette.6079476c.css">
|
||||
{% endif %}
|
||||
@ -175,7 +175,7 @@
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% block scripts %}
|
||||
<script src="{{ base_url }}/assets/javascripts/application.d0060b13.js"></script>
|
||||
<script src="{{ base_url }}/assets/javascripts/application.ef380b89.js"></script>
|
||||
{% if lang.t("search.language") != "en" %}
|
||||
{% set languages = lang.t("search.language").split(",") %}
|
||||
{% if languages | length and languages[0] != "" %}
|
||||
|
@ -359,9 +359,14 @@ $codehilite-whitespace: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
// When pymdownx.superfences is enabled but codehilite is disabled, the
|
||||
// outer container gets this class name by default.
|
||||
// When pymdownx.superfences is enabled but codehilite is disabled,
|
||||
// pymdownx.highlight will be used. When this happens, the outer
|
||||
// container and tables get these class names by default.
|
||||
.highlight {
|
||||
@extend .codehilite;
|
||||
}
|
||||
|
||||
.highlighttable {
|
||||
@extend .codehilitetable;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user