Skip to content

Commit 86a25e8

Browse files
committed
Updated Insiders changelog
1 parent 0abade5 commit 86a25e8

File tree

3 files changed

+28
-4
lines changed

3 files changed

+28
-4
lines changed

CHANGELOG

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
mkdocs-material-8.0.4+insiders-4.3.0 (2021-12-05)
2+
3+
* Added support for custom fonts in social cards
4+
* Fixed #3300: Announcement bar reappearing when using instant loading
5+
16
mkdocs-material-8.0.4 (2012-12-04)
27

38
* Improved support for deeply nested code annotations

docs/insiders/changelog.md

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ template: overrides/main.html
66

77
## Material for MkDocs Insiders
88

9+
### 4.3.0 <small>_ December 5, 2021</small> { id="4.3.0" }
10+
11+
- Added support for custom fonts in social cards
12+
- Fixed #3300: Announcement bar reappearing when using instant loading
13+
914
### 4.2.0 <small>_ December 2, 2021</small> { id="4.2.0" }
1015

1116
- Added support for dismissable announcement bar

docs/setup/setting-up-social-cards.md

+18-4
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The following configuration options are available:
5757
5858
`cards`{ #cards }
5959

60-
: :octicons-milestone-24: Default: `true` – This option specifies whether
60+
: :octicons-milestone-24: Default: `true` – This option specifies whether
6161
to generate social card images. If you want to switch the plugin off, e.g.
6262
for local builds, you can use an [environment variable]:
6363

@@ -70,9 +70,9 @@ The following configuration options are available:
7070
`cards_color`{ #cards-color }
7171

7272
: [:octicons-tag-24: insiders-2.13.0][Insiders] · :octicons-milestone-24:
73-
Default: [primary color][palette.primary] – This option specifies which
74-
colors to use for the background `fill` and foreground `text` when
75-
generating the social card:
73+
Default: [`theme.palette.primary`][palette.primary] – This option specifies
74+
the colors for the background `fill` and foreground `text` when generating
75+
the social card:
7676

7777
``` yaml
7878
plugins:
@@ -85,6 +85,19 @@ The following configuration options are available:
8585
1. Colors can either be defined as HEX colors, or as [CSS color keywords].
8686
Note that HEX colors must be enclosed in quotes.
8787

88+
`cards_font`{ #cards-font }
89+
90+
: [:octicons-tag-24: insiders-4.3.0][Insiders] · :octicons-milestone-24:
91+
Default: [`theme.font.text`][font.text] – This option specifies which font
92+
to use for rendering the social card, which can be any font hosted on
93+
[Google Fonts]:
94+
95+
``` yaml
96+
plugins:
97+
- social:
98+
cards_font: Roboto
99+
```
100+
88101
`cards_directory`{ #cards-directory }
89102

90103
: :octicons-milestone-24: Default: `assets/images/social` – This option
@@ -102,6 +115,7 @@ The following configuration options are available:
102115
[site_url]: https://www.mkdocs.org/user-guide/configuration/#site_url
103116
[environment variable]: https://www.mkdocs.org/user-guide/configuration/#environment-variables
104117
[CSS color keywords]: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#color_keywords
118+
[Google Fonts]: https://fonts.google.com
105119

106120
#### Dependencies
107121

0 commit comments

Comments
 (0)