decker-edu / decker

A markdown based tool for slide deck creation.
GNU General Public License v3.0
53 stars 13 forks source link

Add documentation for [:vspace](1em) #77

Closed kno10 closed 2 days ago

kno10 commented 8 months ago

This is a convenient macro to insert spacing, yet it is not mentioned in the documentation.

It would be good if the clear:both would be optional. I don't think a vspace implies a float barrier.

monofon commented 3 months ago

You might want to build your own vspace with a template macro:

---
templates:
  vspace: |
    <div style="display:block; height::(url);"></div>
title: Custom vspace macro
---

Use it

[@vspace](10em)

like this.