Closed qbosen closed 1 year ago
The macros check code !/^\s*{{/.test(content)) in method isValid happends before processing embed blocks. So all embed blocks were skipped to gen TOC.
!/^\s*{{/.test(content))
isValid
I modified isValid method to check macros unless the block is not embeded.
A new version is released, FYI. @qbosen
The macros check code
!/^\s*{{/.test(content))
in methodisValid
happends before processing embed blocks. So all embed blocks were skipped to gen TOC.I modified
isValid
method to check macros unless the block is not embeded.