Implement support for begin/end regexes in include_markdown