this post was submitted on 14 Nov 2023
2 points (100.0% liked)
Emacs
313 readers
2 users here now
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
Get Emacs
Rules
- Posts should be emacs related
- Be kind please
- Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.
Emacs Resources
Emacs Tutorials
- Beginner’s Guide to Emacs
- Absolute Beginner's Guide to Emacs
- How to Learn Emacs: A Hand-drawn One-pager for Beginners
Useful Emacs configuration files and distributions
Quick pain-saver tip
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.