changes markdown to use publish and categories metadata
changes markdown to use publish and categories metadata