some markdown optimizations