diff options
| author | Sam Scholten | 2026-08-27 15:26:46 +1000 |
|---|---|---|
| committer | Sam Scholten | 2026-08-27 15:26:46 +1000 |
| commit | 43bc29c3c4534b5a5c41e12654fa3067ab3963fe (patch) | |
| tree | 275d63ab11b06f00016d8e4d75dc0dbb247c5b3d /README | |
| parent | 3744e927eef57da85bb466391742cfdf07f84113 (diff) | |
| download | acarp-marp-theme-43bc29c3c4534b5a5c41e12654fa3067ab3963fe.tar.gz acarp-marp-theme-43bc29c3c4534b5a5c41e12654fa3067ab3963fe.zip | |
docs: note hspace inline fallback needs HTML mode (sanitizer strips style attrs)
Diffstat (limited to 'README')
| -rw-r--r-- | README | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -127,7 +127,7 @@ def hello(name): ```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 offsets: use this inline --> +<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 runs. --> ``` |
