Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matt-dalton opened this issue Jan 13, 2021 · 0 comments

Comments

@matt-dalton
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant