Emacs mode for Stack Overflow's markdown

前端 未结 5 1946
隐瞒了意图╮
隐瞒了意图╮ 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:39

    It Is Easy With Chrome Too

    This is less an answer than a test of my solution using the Edit with Emacs chrome plugin and the Emacs Edit Server configured to use markdown-mode for Stackoverflow (and other Stackexchange sites I use). All I had to do after installing the extension and MELPA packages was set

    (setq edit-server-url-major-mode-alist
                 '(("mail.google.com" . org-mode)
                   ("stackoverflow\\.com" . markdown-mode)
                   (".*\\.stackexchange\\.com" . markdown-mode)
                   ("github\\.com" . markdown-mode)))
    

    Gmail Message Support

    Note in the above setting, I'm using org-mode for gmail messages. Still need to do a little work here, but it is possible, with a little effort, to draft your gmail message using org-mode and then use org-mime to generate html from your org structured text. You could just use markdown and a markdown to html conversion.

提交回复
热议问题