The HTML and extensions flags were extracted from the `markdownRender*` functions because I need `Page` state to affect which flags are passed to blackfriday.