Markdown parsing with sidenotes