From 62998b501e6d79b2d53e968103050422a301cda8 Mon Sep 17 00:00:00 2001 From: Sam Scholten Date: Thu, 27 Nov 2025 14:59:03 +1100 Subject: Add example slide screenshot to README --- demo-standard.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'demo-standard.md') diff --git a/demo-standard.md b/demo-standard.md index 6c14a17..1cf44df 100644 --- a/demo-standard.md +++ b/demo-standard.md @@ -25,7 +25,7 @@ Modern presentations with CSS Grid -## Overview +### Overview A minimal, grid-based setup for Marp presentations: @@ -72,13 +72,13 @@ A minimal, grid-based setup for Marp presentations: The TF-IDF model for term weighting: -$\text{tf-idf}(t, d, D) = \text{tf}(t, d) \times \text{idf}(t, D)$ +$\quad \text{tf-idf}(t, d, D) = \text{tf}(t, d) \times \text{idf}(t, D)$ Where term frequency is: -$\text{tf}(t, d) = \frac{f_{t,d}}{\sum_{t'\in d} f_{t',d}}$ +$\quad \text{tf}(t, d) = \frac{f_{t,d}}{\sum_{t'\in d} f_{t',d}}$ And inverse document frequency: -$\text{idf}(t, D) = \log \frac{|D|}{|\{d \in D : t \in d\}|}$ +$\quad \text{idf}(t, D) = \log \frac{|D|}{|\{d \in D : t \in d\}|}$
[Sparck Jones, 1972]
@@ -213,7 +213,7 @@ Images can have custom spacing too. --- -### Comprehensive Slide Example +### Full Slide Example
@@ -222,9 +222,9 @@ Images can have custom spacing too. - Explicit CSS contracts - No hidden behaviors -**Simple latex math:** +**Latex math:** -$\text{score} = \text{tf} \times \log\frac{|D|}{|d_t|}$ +$\quad \text{score} = \text{tf} \times \log\frac{|D|}{|d_t|}$ **And code blocks:** @@ -239,11 +239,11 @@ def score(term, doc):
-**2col mode for figs + txt** +![width:300px](figs/example.png) -![width:350px](figs/example.png) +![width:300px](figs/example.png) -![width:350px](figs/example.png) +

featuring two column mode for e.g. figs + txt

-- cgit v1.2.3