transnano / markdown-to-confluence-vscode

MIT License
20 stars 6 forks source link

Convert markdown to confluence(atlassian wiki markup) for VSCode Extension

Rating Installs

Test and Lint

Features

Convert markdown to confluence(atlassian wiki markup).

From:

# Convert markdown to confluence(atlassian wiki markup) for VSCode Extension
Repository
[transnano/markdown-to-confluence-vscode](https://github.com/transnano/markdown-to-confluence-vscode)

```sh
$ echo 'hello'
hello

To:

```wiki
h1. Convert markdown to confluence(atlassian wiki markup) for VSCode Extension

Repository
[transnano/markdown-to-confluence-vscode|https://github.com/transnano/markdown-to-confluence-vscode]

{code:collapse=false|language=bash|linenumbers=true|theme=Confluence}
$ echo 'hello'
hello
{code}

Command (Usage)

Using Command Palette ( CMD/CTRL + Shift + P )

There are two methods following:

1. Clipboard

  1. CMD/CTRL + Shift + P -> md2confl: Convert markdown to confluence and Copy to clipboard
  2. Paste to the Confluence

2. Window(Dialog)

  1. CMD/CTRL + Shift + P -> md2confl: Convert markdown to confluence and Open window
  2. Copy text from the window
  3. Paste to the Confluence

Configuration

See details: Code Block Macro | Confluence Data Center and Server 7.10 | Atlassian Documentation.

item type default
collapse boolean false
showLineNumbers boolean true
theme string Confluence

1. md2confl.codeBlock.collapse

If selected, the code macro's content will be collapsed upon visiting or refreshing the Confluence page.

2. md2confl.codeBlock.showLineNumbers

If selected, line numbers will be shown to the left of the lines of code.

3. md2confl.codeBlock.theme

Specifies the color scheme used for displaying your code block.

Release Notes

Update infomation.

Ref: CHANGELOG.md

Special thanks

kenchan0130/markdown-to-atlassian-wiki-markup: Convert markdown to atlassian wiki markup - v4.0.1 that is released under the MIT License, see LICENSE.

forked it and extend checkbox for list-item.