Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[web] Embedded screen recordings with Asciinema #2510

Merged
merged 3 commits into from
Jun 4, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[web] Added preload parameter to asciinema shortcode.
  • Loading branch information
bilke committed May 29, 2019
commit b0df6276fbccb3c6cbe303aee05c46de71ed40f8
2 changes: 1 addition & 1 deletion web/content/docs/devguide/getting-started/build.pandoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ To speedup the compilation process append the number of cores of your cpu to the
$ make -j 8
```

{{< asciinema url="https://asciinema.org/a/249005" >}}
{{< asciinema url="https://asciinema.org/a/249005" preload="1" >}}

### Option: Eclipse

Expand Down
1 change: 1 addition & 0 deletions web/layouts/shortcodes/asciinema.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
src='{{ .Get "url" }}.js'
async
{{ with .Get "autoplay"}} data-autoplay="{{.}}"{{ end }}
{{ with .Get "preload"}} data-preload="{{.}}"{{ end }}
{{ with .Get "loop"}} data-loop="{{.}}"{{ end }}
{{ with .Get "speed"}} data-speed="{{.}}"{{ end }}
{{ with .Get "cols"}} data-cols="{{.}}"{{ end }}
Expand Down