# Converting markdown to structured HTML with a macro

> Episode of [Vimcasts](https://podistic.com/podcast/vimcasts.md) · Published June 2, 2010 · Duration 9:25

- **Listen on Podistic:** https://podistic.com/episode/converting-markdown-to-structured-html-with-a-macro
- **Video:** http://media.vimcasts.org/videos/21/markdown_macro.m4v (video/x-m4v)

## About this episode

Recording your keystrokes as a macro can be a great timesaver, but you have to be careful that you use commands in such a way that they can be reused. In this episode, I construct a fairly complex macro to build a structural HTML document from markdown.
