I don’t want to export the entire file as markdown, I want to copy a region which assumes org syntax with the syntax converted to markdown syntax. Also, I want to be able to paste something that was copied using markdown syntax as org syntax. Does anyone currently have anything for this?

You are viewing a single thread.
View all comments
1 point

I often do lots of planning and writing in org-mode as an outline, so everything is basically headings that I can move around, promote/demote etc. Then when I want to paste it into Confluence I use this to export a subtree as markdown.

https://github.com/jplindstrom/dotemacs/blob/master/config/mode-org.el#L352

It’s brute-force, naive, shitty code and all that, but it works.

And, sometimes to get the level of markdown headings / bullet points correct I have to run this on a higher level org heading and then pick just a bit of the output to paste into the wiki.

One thing that doesn’t work well in the Confluence editor in particular is if you have a code block below a markdown bullet point.

permalink
report
reply

Emacs

!emacs@communick.news

Create post

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

  • Windows
  • Mac OS X
  • GNU/Linux and BSD (Just get it from your distribution’s package manager)

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for “emacs” and “vi” link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

Community stats

  • 18

    Monthly active users

  • 562

    Posts

  • 2.4K

    Comments