Emacs mode for Stack Overflow's markdown

前端 未结 5 1943
隐瞒了意图╮
隐瞒了意图╮ 2020-12-22 15:11

I am using Org-mode in Emacs to handle all my technical documentation. I would like to use Emacs to prepare questions that I have for Stack Overflow. Is there an Emacs mode

5条回答
  •  悲哀的现实
    2020-12-22 15:43

    Pandoc has support for reading a subset of org-mode and can output markdown.

    In other words, you can keep writing in org-mode, including writing italics /like this/, and then export to markdown. From emacs you can convert to markdown by selecting the region, hitting C-u M-S-\ and typing pandoc -r org -t markdown, getting output like this:

    In other words, you can keep writing in org-mode, including writing italics *like this*, and then export to markdown.
    

    Or, you can save the file and convert it at the command line.

提交回复
热议问题