Skip to content

Link Block #16

@bennyboer

Description

@bennyboer

Support for Links!

Here is some text. And this is a <link target="https://example.com">Link</link>.

Link targets should be either URLs or parts of the document.

<heading label="heading1">My heading</heading>

This is some text and a <link target="heading1">Link</link> that links to the above heading.

Forward references

Example:

See <link target="image1">Image <var name="TARGET_NUMBER"/></link>

<image src="image.png" label="image1">My caption</image>

The Image to jump to when clicking the link has not yet been seen. The content of the link cannot be laid out properly as we do not yet know the number of the image for the given label image1. Thats why we have multiple layout passes. The current layout pass finished with the flag stable set to false. When encountering an unstable layout another layout pass is done. In the second layout pass we know the number of the image with the given label and can mark the layout as stable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions