aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSam Scholten2026-08-27 15:30:29 +1000
committerSam Scholten2026-08-27 15:30:29 +1000
commit7f93d5609f2d696103a9352c7857e6ffe9589c27 (patch)
tree9cc63c578b0b9e5c1f97f52868d8f0fd274202c6 /README
parent43bc29c3c4534b5a5c41e12654fa3067ab3963fe (diff)
downloadacarp-marp-theme-main.tar.gz
acarp-marp-theme-main.zip
remove hspace-* utilities; document inline padding-left for horizontal offset (requires HTML mode)HEADmain
Diffstat (limited to 'README')
-rw-r--r--README5
1 files changed, 1 insertions, 4 deletions
diff --git a/README b/README
index c001d51..d1dafd1 100644
--- a/README
+++ b/README
@@ -125,10 +125,7 @@ def hello(name):
### Horizontal Offset
```html
-<span class="hspace-large">indented text</span> <!-- inline: shifts this fragment right on the line -->
-<div class="hspace-large">indented block</div> <!-- block: indents the whole line/block -->
-<span style="padding-left: 8em">custom</span> <!-- custom offset: needs HTML mode (inline styles are stripped by Marp's sanitizer otherwise) -->
-<!-- classes: tiny 0.5em, small 1em, medium 2em, large 3em, xlarge 4em, xxlarge 5em, hspace-6..10 (em). Replaces fragile &nbsp; runs. -->
+<span style="padding-left: 3em">indented text</span> <!-- requires HTML mode (marp --html / "html": true); inline styles are stripped by Marp's sanitizer otherwise -->
```
## Themes