Show file location for 'variable with no name ...' warning
Closed this issue · 2 comments
damithc commented
tlylt commented
@damithc yes good point. I have tracked down the issue, which seems to stem from the use of <span id
instead of <variable name=
within _markbind/variables.md, see global variable usage in https://markbind.org/userGuide/reusingContents.html#global-variables
Adding warnings to log the current site (useful when there are multiple site) + the value might help debugging:
It's somewhat related to this breaking change: https://github.com/MarkBind/markbind/releases/tag/v5.0.0#:~:text=7.%20Clean%20up%20docs%20%26%20tests%20for%20variables%20by%20%40tlylt%20in%20%232301
To rectify, you need to update span id to variable name for book/_markbind/variables.md and _markbind/variables.md (or anything else that I missed)