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 /acarp.css | |
| 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 'acarp.css')
| -rw-r--r-- | acarp.css | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -332,8 +332,9 @@ section .math { /* Horizontal offset utilities - add left padding. Works on inline spans (offset within a line) and block wrappers (indents the whole block). Cleaner than runs of . - For custom offsets, use an inline-padded element instead: - <span style="padding-left: 8em">text</span> */ + Note: inline style="" attrs are stripped by Marp's sanitizer unless + HTML mode is enabled, so prefer these classes over inline padding-left. + For custom offsets without HTML mode there is no inline fallback. */ .hspace-tiny { padding-left: 0.5em !important; } .hspace-small { padding-left: 1em !important; } .hspace-medium { padding-left: 2em !important; } |
