-
Hello folks! I wrote a seemingly simple yml to check for the occurrence of a heading, and ensure that it appears exactly once:
I could just be misunderstanding what this will do, but this is triggering despite the heading existing in my example doc:
From what I understand, this should only trigger if the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
As it turns out, yes, this was a misunderstanding on my part. I was wanting this to search the entire doc, but the
|
Beta Was this translation helpful? Give feedback.
As it turns out, yes, this was a misunderstanding on my part. I was wanting this to search the entire doc, but the
scope
was where I was getting confused. In the above example, it will search each heading to ensure that the token isn't present multiple times in that heading. To get what I was looking for, I needed to increase the scope - the following seems to do what I was originally going for: