FAQ
A Presentation made with Slides as Code theme has a default size of (width: 1920, height: 1080), that is, the resolution at which they are authored. This size can be customized in config.yaml
(see Configuration).
The framework will automatically scale presentations uniformly based on this size to ensure that everything fits on any given display or viewport.
After the update of a theme, you should do a hard reload on your browser (CRTL+SHIFT+R) of your slides deck.
If a list item contains Markdown or another shortcode, element
with fragment
class doesn’t work as expected.
Replace following code (that doesn’t work as expected)
{{< ul "class" >}}
- **abc**
<!-- .element class="fragment" -->
- **mno**
<!-- .element class="fragment" -->
- {{< span "text-highlight-black" >}}xyz{{< /span >}}
<!-- .element class="fragment" -->
{{< /ul >}}
by this one
{{< ul "class" >}}
{{< li "fragment" >}}**abc**{{< /li >}}
{{< li "fragment" >}}**mno**{{< /li >}}
{{< li "fragment" >}}{{< span "text-highlight-black" >}}**xyz**{{< /span >}}{{< /li >}}
{{< /ul >}}
In fact, element
replaces the class attribute from the last inner child object from the previous line.