ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Confluence

by Kevin Li ST3

Sublime Text plugin for editing Confluence pages with Markdown or reStructuredText

Details

  • 1.0.10
    1.0.5
  • github.​com
  • github.​com
  • 6 days ago
  • 4 hours ago
  • 11 years ago

Installs

  • Total 2K
  • Win 747
  • Mac 874
  • Linux 305
Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9
Windows 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeConfluence

Sublime Text plugin for integrating with Atlassian Confluence

Requires Sublime Text build 4215 or newer (Python 3.14 plugin host).

Installation

Use sublime package manager

  • you should use sublime package manager
  • use cmd+shift+p then Package Control: Install Package
  • look for Confluence and install it.

Manually

At the moment Git is required to install the plugin. You will need to clone the repository in your Sublime Text “Packages” directory:

git clone git@github.com:mlf4aiur/SublimeConfluence.git "Confluence"

The “Packages” directory is located at:

  • OS X: ~/Library/Application Support/Sublime Text */Packages/
  • Linux: ~/.Sublime Text */Packages/
  • Windows: %APPDATA%/Sublime Text */Packages/

Development

Use uv to set up the dependencies for local development:

uv sync

To enable reStructuredText support, install its optional dependency:

uv sync --extra rst

This development environment does not replace Package Control's dependency installation for Sublime Text.

Package Control does not resolve transitive library dependencies like pip or uv. dependencies.json explicitly lists Requests and its required libraries; Sublime Text supplies certifi in the plugin host.

Settings

Open Preferences: Confluence Settings from the Command Palette, or use Preferences > Package Settings > Confluence > Settings. The default settings open on the left and your editable user settings open on the right. If no user settings file exists, the command creates an empty settings buffer.

Add the following to the user settings on the right and save:

{
    "base_uri": "https://confluence.example.com/confluence/rest/api",
    "default_space_key": "ENG",
    "username": "username",
    "password": "password",
    "verify_ssl": true
}

verify_ssl accepts either the boolean true (the default) or a quoted path to a PEM CA bundle. For example:

"verify_ssl": "/etc/ssl/certs/company-ca-bundle.pem"

On Windows, escape backslashes in the path, for example "verify_ssl": "C:\\Certificates\\company-ca-bundle.pem". Disabling certificate verification is not recommended.

If the password is unset, you need to input it every time. Avoid editing the password inline; this plugin cannot handle that correctly.

Missing libraries after upgrading

If the console reports ModuleNotFoundError: No module named 'urllib3', update Confluence, then run Package Control: Satisfy Libraries from the Command Palette and restart Sublime Text. This installs any missing declared libraries into Sublime Text's Python environment.

Usage

Demo

demo

Post page to Confluence

Supported markup languages:

META data must be at the head of the document, separated from the content by a newline.

Example files: example.md, example.rst.

META data:

  • Space
  • Ancestor Title
  • Title

Use the Command Palette to run it: press cmd+shift+p, then choose Post page to Confluence to post the local page remotely.

BTW

Confluence supports built-in markup (Textile-like) and Markdown syntax insertion. In Confluence edit mode, press command+shift+D to insert markup text.

License

SublimeConfluence is BSD Licensed.