minor alignment of inline parsing between markdown and rst impl