starters: add line numbers example

This commit is contained in:
George Cushen 2022-08-11 18:49:31 +01:00
commit 1ce2548dcf
3 changed files with 12 additions and 10 deletions

View file

@ -74,6 +74,8 @@ taxonomies:
author: authors
markup:
_merge: deep
highlight:
lineNos: false
related:
threshold: 80
includeNewer: true

View file

@ -8,8 +8,8 @@ date: '2019-02-05'
slides:
# Choose a theme from https://github.com/hakimel/reveal.js#theming
theme: black
# Choose a code highlighting style (if highlighting enabled in `params.toml`)
# Light style: github. Dark style: dracula (default).
# Choose a code highlighting style (see Hugo docs on Chroma)
# Light style: github-light. Dark style: dracula (default).
highlight_style: dracula
---
@ -73,16 +73,16 @@ $$
Make content appear incrementally
```
{{%/* fragment */%}} One {{%/* /fragment */%}}
{{%/* fragment */%}} **Two** {{%/* /fragment */%}}
{{%/* fragment */%}} Three {{%/* /fragment */%}}
{{</* fragment */>}} $\mathbf{y} = $ {{</* /fragment */>}}
{{</* fragment */>}} $X\boldsymbol\beta$ {{</* /fragment */>}}
{{</* fragment */>}} $+ \boldsymbol\varepsilon$ {{</* /fragment */>}}
```
Press `Space` to play!
{{% fragment %}} One {{% /fragment %}}
{{% fragment %}} **Two** {{% /fragment %}}
{{% fragment %}} Three {{% /fragment %}}
{{< fragment >}} $\mathbf{y} = $ {{< /fragment >}}
{{< fragment >}} $X\boldsymbol\beta$ {{< /fragment >}}
{{< fragment >}} $+ \boldsymbol\varepsilon$ {{< /fragment >}}
---

View file

@ -58,8 +58,8 @@ locale:
features:
syntax_highlighter:
theme_day: github-light
theme-dark: dracula
theme_light: github-light
theme_dark: dracula
math:
enable: false
privacy_pack: