Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

zzeitt/ox-conf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

12 Commits

Repository files navigation

org-conf

Last updated Time-stamp: <2025年11月27日 15:48:06>

README

This is an org export backend that supports Confluence wiki storage format...

Prerequisites:

  • Confluene page:
    • Create one conf page on your Confluence cloud side. (Currently ox-conf.el doesn’t support creating the page from scratch, instead it updates an existing page when exporting.)
  • Org file:
    • Add #+CONF_ID and #+CONF_SPACE at the top of the .org file you want to export.
  • Emacs init:

Exporting:

  • Wake up org-export dispatch.
  • Press f f for exporting to the CONF_PAGE you provided.

Options:

  • f b: "To buffer" org-conf-export-to-buffer
  • f p: "Page info" org-conf-export-page-info
  • f i: "Image info" org-conf-export-img-info
  • f f: "To Confluence" org-conf-export-to-conf
  • f w: "To Confluence (w/o POST)" org-conf-export-to-conf-without-post
  • f r: "Forget the wrong password" org-conf-forget-password

Response:

  • Once exported successfully, yout will get PUT SUCCEED response.

Note: Most of the codes in this file are adapted from ox-html.el. Part of the codes are inspired by org-jira.el.

Change Log:

  • 2025年01月21日: Initial commit.
  • 2025年02月13日: Fix markup not exported as expected.
  • 2025年04月01日: Ask user when attachment exists on server.
  • 2025年04月10日: Fixed tags/toc format, added org-conf-inner-template. Now can control tags/toc through #+OPTIONS: toc/tags.
  • 2025年04月27日: Introduced numbered headings, can be set through #+OPTIONS: num:t. Excluded org-conf-toc-headline.
  • 2025年05月12日: Fixed wrongly parse latex-fragment element to ‘mathblock’. Fixed ‘<’, etc char escaping issue in XML exporting. Special block fall through to ‘info-block’.
  • 2025年07月04日: Added ‘section’ block and ‘column’ block.
  • 2025年07月07日: Exported svg image as embedded html with <iframe>.
  • 2025年11月17日: Deprecated ‘example-block’.
  • 2025年11月27日: Added ‘footnote’ support.

Example

Given this file: tmp.org.

#+TITLE: tmp
#+AUTHOR: John Doe
#+CONF_SPACE: xxx
#+CONF_PAGE: xxx
#+CONF_ID: xxx
#+OPTIONS: ^:{}
* Heading
Hello, world!

Run M-x org-export-dispatch f f.

Features List

  • [X] Add tag support.

References

About

Confluence Back-End for Org Export Engine.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /