You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not overly common of a feature to want, but at times people have macros that should not do specific things inside them. One way to facilitate this would be to let the user specify a list of blacklisted child macros. It then scans over the tree to see if it appears inside of the macro.
An example usecase for this would be <<link>> when you specify a passage, and then disallowing using macros like <<goto>>. However this isn't trivial to implement, since it is dependent on which variant exists, and I don't believe the parsing information is paired with that in the right manner for it.
A basic version of this feature could be implemented, but the version that would be needed for <<link>> is rather complex.
The text was updated successfully, but these errors were encountered:
This is not overly common of a feature to want, but at times people have macros that should not do specific things inside them. One way to facilitate this would be to let the user specify a list of blacklisted child macros. It then scans over the tree to see if it appears inside of the macro.
An example usecase for this would be
<<link>>
when you specify a passage, and then disallowing using macros like<<goto>>
. However this isn't trivial to implement, since it is dependent on which variant exists, and I don't believe the parsing information is paired with that in the right manner for it.A basic version of this feature could be implemented, but the version that would be needed for
<<link>>
is rather complex.The text was updated successfully, but these errors were encountered: