Sha256: 5216e73052ca53feab627b1e3378e69d0121dfefd8b8a0a0be9070d3500ba029

Contents?: true

Size: 1.41 KB

Versions: 12

Compression:

Stored size: 1.41 KB

Contents

---
layout: remark_slideshow
additional_imports:
    katex:
        type: js
        url: /assets/plugin/katex/katex.min.js
        context: remark_frame
        comment: >-
            Setting context to remark_frame means to only run this
            in the remark-specific iframe.
    katex_auto_init_math:
        type: js
        url: /assets/plugin/katex/contrib/auto-render.min.js
        onload: renderMathInElement(document.body)
        inline_options: defer
        comment: >-
            We're passing 'defer' above because we want this script to load
            _after_ the body.
    katex_css:
        type: css
        url: /assets/plugin/katex/katex.min.css

remark_presentation_config:
    navigation:
        scroll: false
    slideNumberFormat: "Slide %current% of %total%."

mermaid: true
remark_presentation_config_html: >-
    Testing... This should be included at the top of the file.
---

{% comment %}
This template is an example of how to customize remark slideshows
by creating a new template.

`additional_imports` can be used on any page. In this case, the imports
are included both in the remark presentation `iframe` and in the main page.

Of course, we could include `katex` or `mermaid` here by setting `katex: true`
or `mermaid: true` in the header`, but `additional_imports` is another way to
specify this.

Note that `remark_presentation_config` is passed directly to remark.
{% endcomment %}

{{ content }}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hematite-0.1.18 _layouts/example_custom_remark_slideshow.html
hematite-0.1.17 _layouts/example_custom_remark_slideshow.html
hematite-0.1.16 _layouts/example_custom_remark_slideshow.html
hematite-0.1.15 _layouts/example_custom_remark_slideshow.html
hematite-0.1.14 _layouts/example_custom_remark_slideshow.html
hematite-0.1.13 _layouts/example_custom_remark_slideshow.html
hematite-0.1.12 _layouts/example_custom_remark_slideshow.html
hematite-0.1.11 _layouts/example_custom_remark_slideshow.html
hematite-0.1.10 _layouts/example_custom_remark_slideshow.html
hematite-0.1.9 _layouts/example_custom_remark_slideshow.html
hematite-0.1.8 _layouts/example_custom_remark_slideshow.html
hematite-0.1.7 _layouts/example_custom_remark_slideshow.html