Markdown+cardtype infrastructure

Add Markdown