Commit Graph

1894 Commits

Author SHA1 Message Date
squidfunk
530f84416e
Added support for using .mjs files in extra_javascript 2023-05-30 19:40:58 +02:00
squidfunk
0f1866b108
Documentation 2023-05-27 17:42:43 +02:00
squidfunk
fe0c966a4d
Added color-scheme property to indicate color scheme to OS 2023-05-27 17:41:00 +02:00
Timothée Mazzucotelli
3f978d86f6 Strip tags of ToC item's aria label
Some plugins/extensions might use the data-toc-label attribute
of headings to set a particular string for the ToC item title.

While not explicitly documented as possible or allowed,
they might set some HTML code instead of text.
In this case, the aria label of Toc nav elements break the HTML
as they will contain unescaped double quotes.

To fix this, we use the `striptags` filter
to remove any tags from the aria label, keeping text only.
2023-05-22 18:27:28 +02:00
squidfunk
168b8b8fda
Updated Armenian translations
Co-authored-by: cassmastern <49853998+cassmastern@users.noreply.github.com>
2023-05-20 10:31:50 +02:00
squidfunk
d10badb0b2
Updated Greek translations
Co-authored-by: geopolitis <2936134+geopolitis@users.noreply.github.com>
2023-05-17 10:37:42 +02:00
Chris Pointon
fdf8362d50 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	src/plugins/social/plugin.py
2023-05-15 11:05:40 +01:00
squidfunk
01136b2fb9
Automatically pause media when content tabs are hidden 2023-05-12 15:12:40 +02:00
squidfunk
3520926284
Updated Bengali (Bangal) translations 2023-05-12 14:52:20 +02:00
Md. Almas Ali
9e886e159f Added missing bangla languages in bn.html. 2023-05-10 00:19:07 +06:00
squidfunk
8b50290f5e
Fixed errors in deprecation path of social plugin settings 2023-05-08 21:01:01 +02:00
squidfunk
09feabc579
Harmonized color and font settings for social cards with Insiders 2023-05-08 16:59:16 +02:00
squidfunk
2735c87d9a
Finished documentation on social cards 2023-05-08 16:44:39 +02:00
squidfunk
2d1d135c35
Formatting 2023-05-02 11:58:16 +02:00
squidfunk
201054e79d
Fixed instant loading causing jump for code annotations 2023-05-02 10:59:39 +02:00
Martin Donath
5c57458256
Merge pull request #5447 from kamilkrzyskow/social-patch
Fix crash in social plugin and add support for logo in custom_dir
2023-05-02 08:49:33 +02:00
squidfunk
2ce3d7bc0d Fixed search for new Indian translations 2023-05-02 08:36:53 +02:00
Kamil Krzyśków
2e37c10d53 Added support for theme.custom_dir in social plugin 2023-04-30 23:59:13 +02:00
Kamil Krzyśków
2bb853687d Fixed social plugin crash when only code font present 2023-04-30 17:24:46 +02:00
Pranam
1819739928 #5443 fix whitespace 2023-04-29 18:26:13 +00:00
Pranam
889d51461a #5445: adds translations for Telugu languages 2023-04-29 18:19:11 +00:00
Pranam
85551e658f 5443: adds support for Kannada language 2023-04-29 14:00:54 +00:00
Pranam
45d0679fee #5441: adds translations for Sanskrit 2023-04-29 12:30:19 +00:00
squidfunk
986cadad29 Fixed display mode for light/dark mode images 2023-04-28 12:49:27 +02:00
squidfunk
cb485499eb Fixed social plugin crashing for Inter font 2023-04-28 11:46:16 +02:00
Chris Pointon
7a77935c7a Improve font matching for fonts with different families 2023-04-25 17:57:05 +01:00
Chris Pointon
a517a9942d Make font loading walk subdirectories 2023-04-25 16:29:30 +01:00
squidfunk
f0d506c446
Fixed theme breaking when no palette is defined 2023-04-24 14:48:48 +02:00
squidfunk
6f13021a38
Fixed unnecessary inclusion of palette.css 2023-04-22 12:26:22 +02:00
squidfunk
6fe1d55607
Always set default primary and accent colors 2023-04-22 12:21:48 +02:00
squidfunk
ba90cb1ccd
Added missing enabled setting for tags plugin 2023-04-22 10:20:28 +02:00
squidfunk
c0cdb3ca1f
Updated Turkish translations
Co-authored-by: eminboydak <17517752+eminboydak@users.noreply.github.com>
2023-04-22 10:00:32 +02:00
squidfunk
ab94f5f648
Updated Persian (Farsi) translations
Co-authored-by: Peymanpn <1858614+Peymanpn@users.noreply.github.com>
2023-04-22 09:58:42 +02:00
squidfunk
393c38fdf6
Updated Persian (Farsi) translations
Co-authored-by: Peymanpn <1858614+Peymanpn@users.noreply.github.com>
2023-04-07 13:34:43 +02:00
squidfunk
97fd112fe7
Fixed Mermaid sequence diagram box colors 2023-04-07 13:28:46 +02:00
Kengo Shimizu
1c793ebaff
fix Japanese translation 2023-03-30 01:29:50 +09:00
squidfunk
f4d894d53b
Fixed footer direction label being cut off 2023-03-29 13:01:30 +02:00
squidfunk
6a4be6b723
Updated Mermaid.js to 9.4.3 2023-03-24 21:09:15 +01:00
squidfunk
33aeeaa007
Updated Lithuanian translations
Co-authored-by: lfx <163301+lfx@users.noreply.github.com>
2023-03-24 20:57:53 +01:00
squidfunk
183b0be124
Fixed anchor links in closed details when using instant loading 2023-03-24 12:31:23 +01:00
squidfunk
5f02d02dc4 Fixed inconsistency of code block sequence number in community edition and Insiders 2023-03-19 17:30:34 +01:00
squidfunk
c3ba161233 Fixed issue with non-percent encoded anchors in table of contents 2023-03-19 17:21:34 +01:00
squidfunk
63daaa4087 Removed unnecessary property on ellipsis class 2023-03-14 20:09:09 +01:00
squidfunk
9752ad2630 Fixed back-to-top button when using instant loading 2023-03-14 17:18:02 +01:00
squidfunk
a7c1d06470 Added Norwegian (Bokmål) translations
Co-authored-by: gallaher <16511229+gallaher@users.noreply.github.com>
2023-03-14 16:35:12 +01:00
squidfunk
9cbdb79a53 Added Romanian translations
Co-authored-by: g3ru1a <32644617+g3ru1a@users.noreply.github.com>
2023-03-14 16:32:08 +01:00
Martin Donath
85eaceba04
Updated Portuguese translations
Portuguese translations
2023-03-14 11:35:10 +01:00
squidfunk
2c7b0a3fc1 Fixed search plugin not removing subsequent script and style tags 2023-03-14 11:22:05 +01:00
David Freire
bf8dcb0996 add all missing portuguese translations 2023-03-13 14:46:01 +00:00
squidfunk
cd73ef1573 Documentation 2023-03-11 09:46:55 +01:00