Markdown and pandoc, greatest things since sliced bread. Except for the toaster.