Headless Server Developer Manual / Version 2301
Table Of ContentsOutput handler that generates embedded link tags. Uses the default link builder.
!LinkWriter
The output format is fixed.
For internal links:
<a data-href="[LINK-URI]">...</a>
For external links:
<a href="[LINK-URI]">...</a>
Property | Description |
---|---|
attributeTransformers | Optional transformation rules for the element’s attributes. |
Table 5.7. Available properties for !LinkWriter.
Example:
contexts: - !Context name: headline defaultHandler: !Handler eventMatcher: ... contextHandler: ... outputHandler: !LinkWriter ...