improve markdown init