{"id":30203077,"url":"https://github.com/vimkim/markdown-to-jira-confluence-online","last_synced_at":"2025-08-13T11:14:56.251Z","repository":{"id":268734881,"uuid":"905298059","full_name":"vimkim/markdown-to-jira-confluence-online","owner":"vimkim","description":"Convert markdown to Jira Confluence Wiki Markup Online, Powered by Rust and WASM","archived":false,"fork":false,"pushed_at":"2025-01-08T11:43:25.000Z","size":248,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T12:32:55.550Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://vimkim.dev/markdown-to-jira-confluence-online/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vimkim.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-12-18T14:45:36.000Z","updated_at":"2025-01-08T11:43:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"fcdb527b-63cd-4ba4-8a68-ef2d962b2c31","html_url":"https://github.com/vimkim/markdown-to-jira-confluence-online","commit_stats":null,"previous_names":["vimkim/markdown-to-confluence-live-rust-wasm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vimkim/markdown-to-jira-confluence-online","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vimkim%2Fmarkdown-to-jira-confluence-online","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vimkim%2Fmarkdown-to-jira-confluence-online/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vimkim%2Fmarkdown-to-jira-confluence-online/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vimkim%2Fmarkdown-to-jira-confluence-online/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vimkim","download_url":"https://codeload.github.com/vimkim/markdown-to-jira-confluence-online/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vimkim%2Fmarkdown-to-jira-confluence-online/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270228751,"owners_count":24548903,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-08-13T11:14:09.555Z","updated_at":"2025-08-13T11:14:56.220Z","avatar_url":"https://github.com/vimkim.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Markdown To Jira Confluence Markup Converter\n\nSuper fast and efficient Markdown to Jira Confluence Markup Converter powered by **Rust** and **WebAssembly (Wasm)**. This tool allows users to seamlessly convert Markdown content into Confluence-compatible markup for enhanced documentation workflows.\n\n![image](https://github.com/user-attachments/assets/ec5891f7-f51c-4243-aa12-a33bbe42e1b7)\n\n---\n\n## Features\n\n- **Lightning Fast**: Built with Rust for optimal speed and performance.\n- **Web Ready**: Powered by Wasm for live usage in web applications.\n- **Markdown to Confluence**: Converts Markdown elements like:\n  - Headings (`#`, `##`, etc.) into Confluence-style headings (`h1.`, `h2.`, etc.).\n  - Lists (`-` or `1.`) into Confluence lists.\n  - Code blocks into `{code}` blocks with language highlighting.\n  - Inline code into `{code}` inline styles.\n  - Emphasis and strong text into `_` and `*`.\n- **Advanced Features**:\n  - Handles HTML within Markdown for raw HTML passthrough.\n  - Tracks list nesting levels for accurate rendering.\n  - Customizable support for additional Markdown attributes (`id`, `class`, etc.).\n- **Simple API**: Easy-to-use function for converting Markdown strings to Confluence markup.\n\n---\n\n## Installation and Setup\n\n### For Web Applications\n\n1. Add the Wasm module to your project.\n2. Initialize the Wasm package and call the `convert_markdown_to_confluence` function.\n\nExample (JavaScript):\n\n```javascript\nimport init, {\n  convert_markdown_to_confluence,\n} from \"./markdown_to_confluence_converter.js\";\n\nasync function convert() {\n  await init(); // Initialize the Wasm module\n  const markdown = `\n    # Welcome\n    ## Subheading\n    - Bullet item 1\n    - Bullet item 2\n    \\`\\`\\`rust\n    fn main() {\n        println!(\"Hello, Confluence!\");\n    }\n    \\`\\`\\`\n    `;\n  const result = convert_markdown_to_confluence(markdown);\n  console.log(result);\n}\nconvert();\n```\n\n---\n\n### For Rust Developers\n\nAdd this converter as part of your Rust application:\n\n1. Import the module:\n\n   ```rust\n   use your_crate::convert_markdown_to_confluence;\n   ```\n\n2. Convert Markdown directly:\n\n   ````rust\n   fn main() {\n       let markdown = \"\n       # Heading\n       - Item 1\n       - Item 2\n       ```rust\n       println!(\\\"Hello, Confluence!\\\");\n       ```\n       \";\n\n       let confluence_markup = convert_markdown_to_confluence(markdown);\n       println!(\"{}\", confluence_markup);\n   }\n   ````\n\n---\n\n## How It Works\n\n### Conversion Logic\n\n1. Parses Markdown using `pulldown_cmark`.\n2. Translates Markdown elements into Confluence-style syntax:\n   - **Headings**: Maps Markdown headers (`#`, `##`, etc.) to `h1.`, `h2.`, etc.\n   - **Lists**: Handles both ordered and unordered lists with proper nesting.\n   - **Code Blocks**: Converts fenced or indented blocks to `{code}` sections.\n   - **Inline Styles**: Supports emphasis (`_`), strong text (`*`), and inline code (`{code}`).\n\n---\n\n## Contributing\n\nWe welcome contributions to make this converter even better! Follow these steps to get started:\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/your-username/markdown-to-confluence.git\n   cd markdown-to-confluence\n   ```\n\n2. Build the Wasm module:\n\n   ```bash\n   wasm-pack build --target web\n   ```\n\n3. Test the project locally with your Markdown examples.\n\nFeel free to open issues or submit pull requests on [GitHub](https://github.com/your-username/markdown-to-confluence).\n\n---\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\nFor questions or feedback, feel free to open an issue or contact us at [kimdhyungg@gmail.com](mailto:kimdhyungg@gmail.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvimkim%2Fmarkdown-to-jira-confluence-online","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvimkim%2Fmarkdown-to-jira-confluence-online","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvimkim%2Fmarkdown-to-jira-confluence-online/lists"}