Templating with Markdown - How to set Layout

How can I change the layout template from within the .md template? I use ServiceStack.Templating not Razor.

Would it be possible to use/implement like this:

<!--
layout: templates/mobile-layout
-->

Usage: Email and text generation.

Regards!

Instead of .md templates I’d capture and markdown blocks or evalTemplate filter which provide more flexible ways in controlling how and where markdown rendered.

But yeah you should be able to select the layout using the layout page argument.