move markdown directive out of main site into shared (so mobile can use it)