Fake Docs
This is a fake doc set intended for testing doc tools.
Editable macro
This section tests the editable
macro.
The macro does nothing in PDF.
Hey there, in the HTML version you can edit this sentence!
$ /path/you/can/edit/in/the/html
Icons
HTML and PDF backends don’t have the same support:
Asciidoctor HTML | Asciidoctor PDF | Example |
---|---|---|
"Solid" Font Awesome icons, as described in Default icon font |
Support for anything icon font in
|
|
There’s no built-in way to choose which type of Font Awesome icon you get. The |
The |
|
No support for Material icons. |
Support for Material icons exists in |
|
ForgeRock tools support the hackaround of injecting HTML. |
HTML injection won’t help for PDF. |
|
Icon tests
All of these should show icons at the end of the lines:
arrows: <i class="fas fa-arrows-alt"></i>
assignment: <i class="fas fa-key"></i>
bell: <i class="fas fa-bell"></i>
chain: <i class="fas fa-link"></i>
check: <i class="fas fa-check"></i>
cross: <i class="fas fa-times"></i>
dashboard: <i class="fas fa-tachometer-alt"></i>
edit: <i class="fas fa-pencil-alt"></i>
gear: <i class="fas fa-cog"></i>
hamburger: <i class="fas fa-bars"></i>
info: <i class="fas fa-info-circle"></i>
menu: <i class="fas fa-ellipsis-v"></i>
plus: <i class="fas fa-plus"></i>
refresh: <i class="fas fa-sync"></i>
remove: <i class="fas fa-times"></i>
search: <i class="fas fa-search"></i>
sharing: <i class="fas fa-share"></i>
user-street: <i class="fas fa-street-view"></i>
user: <i class="fas fa-user"></i>
discord: <i class="fab fa-discord"></i>
icon-ext:discord[set="fab", role="red"]
material settings: <span class="material-icons-outlined mi-inline">settings</span>
icon-ext:settings[set="material", role="green"]
gauge-simple: <i class="fas fa-gauge-simple"></i>
icon-ext:gauge-simple[set="fas"]
docker: <i class="fab fa-docker fa-2xl"></i>
icon-ext:docker[set="fab", size="2xl"]
docker: <i class="fab fa-docker fa-rotate-180"></i>
icon-ext:docker[set="fab", rotate="180"]
docker: <i class="fab fa-docker fa-flip-horizontal"></i>
icon-ext:docker[set="fab", flip="horizontal"]
Video
brightcove::6316383002112[start="10s", muted="true", width="600", height="400", allowFullscreen="false", title="Test Title"]
brightcove::deadurl[accountID="12345", playerID="test_default"]
brightcove::deadurl[]
wistia::69jfbtz3ye[start="25s", autoplay="false", loopBehavior="reset" width="600", height="400"]
wistia::deadurl[]
Some Collapses
Native collapse with nesting
Here is the content of a collapsible block.
Nested collapse
Here is the content of a nested collapsible block.
FR collapse with nesting
Here is the content of a collapse block.
Nested FR collapse
Here is the content of a nested collapse block.
Native Collapse | ForgeRock Collapse |
---|---|
More infoHere is the content of a collapsible block. |
More infoHere is the content of a collapse block. |
Tabs
-
Add the tools to your PATH to avoid having to specify the full path for each command:
-
Run
some-command
: -
These tabs are different:
Glossary
This is a paragraph with inline glossary terms. For instance, glossary:spa[], or glossary:sca[]. If used again, you’d get glossary:spa[] and glossary:sca[].
Here’s another paragraph with glossary terms. This time, one only has a short term, and the other only has a long term or phrase. So, glossary:blah[] and glossary:foo[], and repeated, you get glossary:blah[] and glossary:foo[].
glossarylist::[]
Blah blah
glossarylist::[start=1, end=3]
Break
glossarylist::[start=3, end=4]
- Test Item 1
-
This is a test item.
- Test Item 2
-
This is another test item.
- Test Item 3
-
This is a third test item.
glossarylist::[sort=true]
glossarylist::[file="temp-gloss.json"]