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 author: authors
markup: markup:
_merge: deep _merge: deep
highlight:
lineNos: false
related: related:
threshold: 80 threshold: 80
includeNewer: true includeNewer: true

View file

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

View file

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