File tree 4 files changed +17
-24
lines changed
documentation/docs/features
4 files changed +17
-24
lines changed Original file line number Diff line number Diff line change @@ -926,20 +926,20 @@ graph LR
926
926
927
927
# ### mkdocs-material
928
928
929
+ > **Enable by default**
930
+
929
931
Add support for mermaid graphs by adding the `pymdownx.superfences` to `markdown_extensions` as
930
932
described [here]( https://squidfunk.github.io/mkdocs-material/reference/diagrams/).
931
933
932
- Copy the "material-encryptcontent.mjs" file from
933
- [here](https://github.com/unverbuggt/mkdocs-encryptcontent-plugin/tree/version3/fixes)
934
- to "/assets/javascripts/" and include it to "mkdocs.yml" like this :
934
+ After successful decryption all subscriptions of the document are recalled to render the marmaid graph,
935
+ see [here](https://github.com/unverbuggt/mkdocs-encryptcontent-plugin/pull/81).
935
936
936
- ` ` ` yaml
937
- extra_javascript:
938
- - assets/javascripts/material-encryptcontent.mjs
937
+ ` ` ` jinja
938
+ {%- if material %}
939
+ document$.next(document);
940
+ {%- endif %}
939
941
` ` `
940
942
941
- The script is called after successful decryption and renders the mermaid graphs in a similar way as
942
- the theme would normally do.
943
943
944
944
# ## mkdocs-glightbox
945
945
Original file line number Diff line number Diff line change @@ -121,20 +121,20 @@ graph LR
121
121
122
122
# ### mkdocs-material
123
123
124
+ > **Enable by default**
125
+
124
126
Add support for mermaid graphs by adding the `pymdownx.superfences` to `markdown_extensions` as
125
127
described [here]( https://squidfunk.github.io/mkdocs-material/reference/diagrams/).
126
128
127
- Copy the "material-encryptcontent.mjs" file from
128
- [here](https://github.com/unverbuggt/mkdocs-encryptcontent-plugin/tree/version3/fixes)
129
- to "/assets/javascripts/" and include it to "mkdocs.yml" like this :
129
+ After successful decryption all subscriptions of the document are recalled to render the marmaid graph,
130
+ see [here](https://github.com/unverbuggt/mkdocs-encryptcontent-plugin/pull/81).
130
131
131
- ` ` ` yaml
132
- extra_javascript:
133
- - assets/javascripts/material-encryptcontent.mjs
132
+ ` ` ` jinja
133
+ {%- if material %}
134
+ document$.next(document);
135
+ {%- endif %}
134
136
` ` `
135
137
136
- The script is called after successful decryption and renders the mermaid graphs in a similar way as
137
- the theme would normally do.
138
138
139
139
# ## mkdocs-glightbox
140
140
Original file line number Diff line number Diff line change @@ -128,4 +128,4 @@ all files and verify the signatures.
128
128
As long as the private key used for signing remains secret, the canary script will be able to determine
129
129
if someone tampered with the files on the server. But you should run the canary script from another machine
130
130
that is not related to the server, otherwise the attacker could also modify the canary script and sign with his
131
- private key instead.
131
+ private key instead.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments