added sed for replacing html with markdown