Guide

Value sources

Provide barcode and QR payload data via value= attrs, inline content, or block body text in comark-etiket directives.

Every symbology directive needs a payload. comark-etiket resolves it from three sources, in order of precedence for the directive syntax you use.

Set the value attribute

value-attr.md
::qrcode{value="https://example.com"}
::

Use inline content

inline.md
:qrcode[https://example.com]

Put text in the block body

block-body.md
::qrcode
https://example.com
::

Bind a runtime value

:value="user.profileUrl" cannot be resolved at parse time. Those nodes stay in the AST for your renderer. See Binding behaviour.

Copyright © 2026