This wouldn’t be possible with Hugo as it exists now, but there’s no reason that this couldn’t be done by adding a markdown template parser like ace or amber parsers (this would probably be running the parser through Blackfriday and then running it as a Go html template). (See this discussion for a little bit on how amber and ace templates would work for Hugo.