The Glyph::Macro class also includes a few methods to
check and store bookmarks and headers. Consider for example the following source code for the anchor macro:
The bookmark? method can be used to check the existance of a particular ID within the whole document,
while the bookmark method is used to store bookmark IDs and titles. In a similar way, you can use
header? and header methods to check the existance of headers within the documents or store
new ones.