GH-13: only use hyperlink macros if available
wrap multi-line if-clause inside squiggly brackets