Memo on how to use the Markdown parser remark

I have read Markdown, edited it in various ways as I wanted, and wanted to output it to Markdown again. I used a JavaScript Markdown parser called remark. However, it is difficult to understand how to use it, and I am sure I will forget how to use it the next time I need to modify the program, so I…