Skip to content

Commit

Permalink
Add video
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Jul 9, 2023
1 parent 13b388f commit a0274b3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/modules/ROOT/pages/features.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ If the content of the page is changed, the rendered view is automatically refres

This means that if you edit the viewed AsciiDoc and save, the rendered view will change.

video::attachment$live-preview.mp4[]

See xref:options.adoc#poll-for-changes[Poll for Changes] on the options page.

[[set-asciidoc-attributes]]
Expand Down Expand Up @@ -75,6 +77,9 @@ URL query parameters
----
https://example.com/page.adoc**?toclevels=1&stylesheet=maker**
----

video::attachment$live-preview.mp4[]

*Example*

You have a document `ex-query.adoc` that uses two attributes `\{first}` and `\{last}` to say "Hello \{first} \{last}!" in the document title.
Expand All @@ -97,7 +102,6 @@ Then, to send a first and last name to the document via the URL, you would add `
file:///C:/Users/User/Documents/ex-query.adoc**?first=Irma&last=Writer**
----


You should see the following result:

[indent=0]
Expand Down

0 comments on commit a0274b3

Please sign in to comment.