Skip to content

Latest commit

 

History

History
141 lines (101 loc) · 2.75 KB

document_attributes.adoc

File metadata and controls

141 lines (101 loc) · 2.75 KB

Document Attributes

Define an Document Attribute
:attribute_name: attribute value
Reference an Document Attribute

{attribute_name} is attribute value.

Use an Document Attribute to Define an Document Attribute
:helix_org: helix-editor.com
:helix_docs_url: https://docs.{helix_org}
Unset an Document Attribute
:!attribute_name:
Escape an Attribute Reference
Normal

https://console.dev/tools

Backslash (\)

https://{console_domain}/tools

Passthrough (+ or pass:[])

https://{console_domain}/tools

Wrap

Soft Wrap

{soft_wrap} is soft wrap.

Hard Wrap

{hard_wrap} is hard
wrap.

When to change value

Change value on define value. As a result, displays first foods document attribute as apple cacao the following AsciiDoc.

{foods} is apple cacao.

{foods} is banana cacao.

AsciiDoc Code
link:./document_attributes.adoc[role=include]

Copyright © 2023 hituzi no sippo