resolves #531 added support for anchor:<id>[<reftext>] macro