{"id":19621320,"url":"https://github.com/commenthol/confluencer","last_synced_at":"2026-02-07T19:03:48.897Z","repository":{"id":57205565,"uuid":"221074626","full_name":"commenthol/confluencer","owner":"commenthol","description":"convert markdown to copy \u0026 paste ready confuence rich text","archived":false,"fork":false,"pushed_at":"2024-08-15T05:03:58.000Z","size":195,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T02:07:43.614Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/commenthol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-11T21:37:09.000Z","updated_at":"2024-08-15T05:04:02.000Z","dependencies_parsed_at":"2024-11-11T11:35:47.971Z","dependency_job_id":null,"html_url":"https://github.com/commenthol/confluencer","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commenthol%2Fconfluencer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commenthol%2Fconfluencer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commenthol%2Fconfluencer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commenthol%2Fconfluencer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/commenthol","download_url":"https://codeload.github.com/commenthol/confluencer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247878021,"owners_count":21011158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T11:22:21.051Z","updated_at":"2026-02-07T19:03:47.897Z","avatar_url":"https://github.com/commenthol.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# confluencer\n\n\u003e convert markdown to copy \u0026amp; paste ready confluence rich text\n\nThis is a post-markdown, post-html processor to render macro definitions as confluence rich-text.\n\nThis project is used in [md-fileserver](https://npmjs.org/package/md-fileserver), which is capable to render confluence html in the browser.\u003cbr\u003e \n**Hint:** Start the server with `mdstart -c \u003cfile.md\u003e` \n\n## table of contents\n\n\u003c!-- !toc (minlevel=2 omit=\"table of contents\") --\u003e\n\n* [install](#install)\n* [usage](#usage)\n* [supported markdown extensions](#supported-markdown-extensions)\n  * [footnotes](#footnotes)\n  * [colored text](#colored-text)\n  * [{toc}](#toc)\n  * [{status}](#status)\n  * [{note}, {warning}, {info}, {tip}](#note-warning-info-tip)\n  * [{code}](#code)\n  * [{anchor}](#anchor)\n  * [{plantuml}](#plantuml)\n* [license](#license)\n\n\u003c!-- toc! --\u003e\n\n## install\n\n    npm i -g confluencer\n\n## usage\n\n**for copy n paste**\n\n1. Run from terminal\n\n        markdown-it test/fixtures/test.md | confluencer \u003e out.html\n\n2. Open file in browser and copy \u0026 paste content to Confluence Page\n\n**for display**\n\nIf you'd like to see a preview of the html page\n\n1. Run from terminal\n\n        markdown-it test/fixtures/test.md | confluencer --html \u003e out.html\n\n## supported markdown extensions\n\n### footnotes\n\n    This is a [^footnote].\n\n    [^footnote]: the footnote text    \n\n### colored text\n\n    \u003cfont color=\"red\"\u003etext in red\u003c/font\u003e\n\n### {toc}\n\nWrite `!toc` in your markdown text.\n\nOptions:\n\n    !toc\n    !toc(minlevel=2)\n    !toc(minlevel=2 maxlevel=5)\n\n### {status}\n\nThis shall render a `!status(STATUS)` macro with grey background with \"STATUS\" as containing text.\n\nOther colors\n\n    !status(color=Red RED)\n    !status(color=Yellow YELLOW)\n    !status(color=Blue Blue)\n    !status(color=Green GREEN)\n\n### {note}, {warning}, {info}, {tip}\n\n\u003e Note the TWO backticks ``\n\n    ``!note(This is the note title)\n\n    - Note 1\n    - And here is some text\n\n    ``\n\nWarning boxes\n\n    ``!warning(This is the info title)\n\n    ``\n\nInfo boxes\n\n    ``!info()\n\n    info-box without title\n\n    ``\n\nIf admonitions are attributed with [markdown-it-admon](https://npmjs.org/package/markdown-it-admon) plugin they are transformed as well if matching the markdown or markup:\n\n```md\n!!! note\n    This is a note.\n```\n\n```html\n\u003cdiv class=\"admonition note\"\u003e\n\u003cp class=\"admonition-title\"\u003eNote\u003c/p\u003e\n\u003cp\u003eThis is a note.\u003c/p\u003e\n\u003c/div\u003e\n```\n\n### {code}\n\nWrite your code as usually using three or more backticks\n\n    ```js\n    // Write your code as usual...\n    (function () {\n      console.log('This gets converted...')\n    })()\n    ```\n\n### {anchor}\n\nWrite your cross-references in markdown...\n\n```html\n[Goto anchor](#anchor)\n...\n\u003ca name=\"anchor\"\u003e\u003c/a\u003e\n```\n\n### {plantuml}\n\nIf using together with plantuml make sure to install plantuml together with `graphviz` and `java`.\n\nOn macos consider\n\n    brew install plantuml\n\non linux you may use [plantuml-install](https://npmjs.com/package/plantuml-install).\n\n    npm i -g plantuml-install\n\nor use the `PLANTUML_JAR` environment variable to point to your `plantuml.jar` file.\n\n\nWrite [PlantUML][] code within a code block.\n\n    ```!plantuml\n    @startuml\n\n    Alice -\u003e Bob : Hello Bob\n    Alice \u003c-- Bob : Hi Alice\n\n    @enduml\n    ```\n\nDefault format is \"svg\". For \"png\" use:  \n\n    ```!plantuml(format=png)\n    ```\n\nSee [./test/fixtures/test.md](./test/fixtures/test.md) for an example.\n\nFor other (not yet supported) macros see [Macros][].\n\n\n## license\n\nMIT licensed\n\n[Macros]: https://confluence.atlassian.com/doc/macros-139387.html\n[PlantUML]: https://plantuml.com\n\n----\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommenthol%2Fconfluencer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommenthol%2Fconfluencer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommenthol%2Fconfluencer/lists"}