parse as GitHub-flavored markdown
be more precise about the cursor direction