hematite 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/extern_library_imports.html +4 -0
- data/_layouts/remark_slideshow.html +12 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57c0b3ae9bdec4a2e37d649a52dfbacb84a8c09b258d2a5bb676571c5fed060d
|
4
|
+
data.tar.gz: '09bc9aa4956973f5cbb3dfa1e4889b9adfe70928eb5f2f25518b09b863a4e8ed'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86065a34d00cc7d8844bdd02883dc7c8dd25c4c6436a1d4b28747d0140d4409d0ac7e7a910d8fe4f54ba546c303208cb347d598141a6e66b1d0c5607e282f249
|
7
|
+
data.tar.gz: 2b218f88fec888c6029650fdd29b0809729cd321905e25e9151e26173347e7488813eebcc79d32c7ced657d8a4ce7a0e2acb4b9386e9d683607b6622e6911784
|
@@ -3,6 +3,10 @@ layout: default
|
|
3
3
|
---
|
4
4
|
|
5
5
|
<!-- Defines a https://remarkjs.com/ slideshow -->
|
6
|
+
<!-- Configure remark with
|
7
|
+
page.remark_presentation_config, site.remark_presentation_config,
|
8
|
+
page.remark_presentation_config_html
|
9
|
+
-->
|
6
10
|
|
7
11
|
{% assign frame_resource_url = 'assets/html/remark_presentation_frame.html.resource' | relative_url %}
|
8
12
|
|
@@ -19,7 +23,8 @@ layout: default
|
|
19
23
|
presentationFrame.src = {{ frame_resource_url | jsonify }};
|
20
24
|
window.presentationFrameLoaded = false;
|
21
25
|
|
22
|
-
let config =
|
26
|
+
let config =
|
27
|
+
{{ page.remark_presentation_config | default: site.remark_presentation_config | jsonify }};
|
23
28
|
config ??= {};
|
24
29
|
|
25
30
|
config.source = {{ page.content | jsonify }};
|
@@ -47,6 +52,12 @@ layout: default
|
|
47
52
|
presentationDoc.write("<!DOCTYPE html>");
|
48
53
|
presentationDoc.write(slideshowHtml);
|
49
54
|
presentationDoc.write(libraryImports);
|
55
|
+
|
56
|
+
// Any additional configuration scripts/html specific to remark
|
57
|
+
presentationDoc.write(unescape(
|
58
|
+
{{ page.remark_presentation_config_html | default: "" | url_encode | replace: "+", " " | jsonify }}
|
59
|
+
));
|
60
|
+
|
50
61
|
presentationDoc.write(`
|
51
62
|
<${"script"}>
|
52
63
|
if (window.MERMAID_CONFIG) {
|