accept markdown extension as template environment attribute