Catalog inline anchors in lexer & render in apply_subs

- remove anchor capture from labeled list regex & templates (handle generically)
- update inline_anchor templates to render the ref anchor
- replace inline anchors in sub_macros
- tests