You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exampleSite/content/highlightjs-linenumbers-example/_index.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
+++
2
-
title = "Reveal.js 3.9.0 highlighting example"
2
+
title = "Reveal.js highlighting example"
3
3
outputs = ["Reveal"]
4
4
5
5
[reveal_hugo]
@@ -11,7 +11,7 @@ highlight_theme = "vs"
11
11
12
12
---
13
13
14
-
This presentation shows the use of the [new highlighting features](https://github.com/hakimel/reveal.js/blob/master/README.md#step-by-step-highlights) which were introduced with Reveal.js [v3.9.0](https://github.com/hakimel/reveal.js/releases/tag/3.9.0).
14
+
This presentation shows the use of the [new highlighting features](https://revealjs.com/code/) which were introduced with Reveal.js [v3.9.0](https://github.com/hakimel/reveal.js/releases/tag/3.9.0).
15
15
16
16
---
17
17
@@ -50,7 +50,7 @@ highlight_theme = "github"
50
50
51
51
The line highlighting is configured by adding `{}` immediately after the language selection of the markdown code block.
52
52
53
-
{{< highlight md >}}
53
+
{{< highlight md >}}
54
54
```foo{}
55
55
56
56
```
@@ -62,7 +62,7 @@ The line highlighting is configured by adding `{}` immediately after the languag
62
62
63
63
`{}`
64
64
65
-
{{< highlight md >}}
65
+
{{< highlight md >}}
66
66
```go{}
67
67
package main
68
68
import "fmt"
@@ -71,7 +71,7 @@ func main() {
71
71
}
72
72
```
73
73
{{< /highlight >}}
74
-
74
+
75
75
```go{}
76
76
package main
77
77
import "fmt"
@@ -130,7 +130,7 @@ func main() {
130
130
131
131
## Hiding the line numbers
132
132
133
-
There is no Reveal.js parameter to use line highlighting *without* line numbers.
133
+
There is no Reveal.js parameter to use line highlighting *without* line numbers.
134
134
However it can be achieved by adding the some [custom CSS](https://github.com/dzello/reveal-hugo#adding-html-to-the-layout).
Copy file name to clipboardExpand all lines: exampleSite/content/home/configuration.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Place configuration values in `config.toml` or a presentation's front matter (`_
10
10
11
11
## Reveal.js themes
12
12
13
-
Themes control the look and feel of your presentation. Set the `theme` param to any [valid Reveal.js theme](https://github.com/hakimel/reveal.js/#theming).
13
+
Themes control the look and feel of your presentation. Set the `theme` param to any [valid Reveal.js theme](https://revealjs.com/themes/).
0 commit comments