Skip to content

Is there a simple way to exclude a custom rule if the word has been already matched by a header? #52

Open
@matt-dalton

Description

We have a custom rule for displaying glossary terms. I am struggling to understand how to manipulate this from the docs.

We've already built a rule for it that works well, but we want to avoid rendering it if it appears in a header. I thought this would be easy but I can't find any contextual information about what other rules have been matched in either the match or the render function.

Is there a simple way of doing this?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions