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
  • 1 month ago
  • 7 hours ago
  • 11 years ago

Installs

  • Total 2K
  • Win 747
  • Mac 874
  • Linux 306
Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 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
Windows 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 1 0 0 0 0 0
Mac 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 1 0 1 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 1 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.