aboutsummaryrefslogtreecommitdiff
path: root/demo-standard.md
diff options
context:
space:
mode:
authorSam Scholten2025-11-27 16:12:56 +1100
committerSam Scholten2025-11-27 16:12:56 +1100
commit86752d1f23a732368942840a55befa6cbb2cb2ee (patch)
treee44f3d96e04289b6e6211fc56fa0f732a75cfdf1 /demo-standard.md
parentf1ea3e0bd91f69ead12ebba3a2b9ae11a0d6dd7d (diff)
downloadacarp-marp-theme-86752d1f23a732368942840a55befa6cbb2cb2ee.tar.gz
acarp-marp-theme-86752d1f23a732368942840a55befa6cbb2cb2ee.zip
Clean up 2-column spacing: remove column gap, fix padding symmetry, remove redundant rules
Diffstat (limited to 'demo-standard.md')
-rw-r--r--demo-standard.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/demo-standard.md b/demo-standard.md
index 1cf44df..72f7d9b 100644
--- a/demo-standard.md
+++ b/demo-standard.md
@@ -192,12 +192,16 @@ Large vertical space (3em) - for major separations
## Spacing Examples
+<div style="max-width: 300px;">
+
```python
def calculate():
result = 42
return result
```
+</div>
+
<div class="vspace-medium"></div>
The function returns a simple value.
@@ -228,12 +232,16 @@ $\quad \text{score} = \text{tf} \times \log\frac{|D|}{|d_t|}$
**And code blocks:**
+
+<div style="max-width: 300px;">
+
```python
def score(term, doc):
tf = freq(term, doc)
idf = log(N / df)
return tf * idf
```
+</div>
</div>