{"id":16123906,"url":"https://github.com/kentaro-m/blackfriday-confluence","last_synced_at":"2025-06-17T07:33:08.079Z","repository":{"id":31317940,"uuid":"127537521","full_name":"kentaro-m/blackfriday-confluence","owner":"kentaro-m","description":"🛠 Blackfriday-Confluence is confluence wiki renderer for the Blackfriday v2 markdown processor.","archived":false,"fork":false,"pushed_at":"2022-04-25T11:36:44.000Z","size":32,"stargazers_count":22,"open_issues_count":1,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T09:20:52.420Z","etag":null,"topics":["blackfriday","confluence","confluence-markup","golang","markdown","markdown-parser"],"latest_commit_sha":null,"homepage":"","language":"Go","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/kentaro-m.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"kentaro-m"}},"created_at":"2018-03-31T14:07:03.000Z","updated_at":"2023-12-28T05:26:47.000Z","dependencies_parsed_at":"2022-08-07T16:15:46.695Z","dependency_job_id":null,"html_url":"https://github.com/kentaro-m/blackfriday-confluence","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentaro-m%2Fblackfriday-confluence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentaro-m%2Fblackfriday-confluence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentaro-m%2Fblackfriday-confluence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentaro-m%2Fblackfriday-confluence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kentaro-m","download_url":"https://codeload.github.com/kentaro-m/blackfriday-confluence/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243926063,"owners_count":20369911,"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":["blackfriday","confluence","confluence-markup","golang","markdown","markdown-parser"],"created_at":"2024-10-09T21:19:04.375Z","updated_at":"2025-03-18T12:31:33.584Z","avatar_url":"https://github.com/kentaro-m.png","language":"Go","funding_links":["https://github.com/sponsors/kentaro-m"],"categories":[],"sub_categories":[],"readme":"# Blackfriday-Confluence\n[![godoc](https://img.shields.io/badge/godoc-reference-orange.svg?style=flat-square)](https://godoc.org/github.com/kentaro-m/blackfriday-confluence)\n[![Coverage Status](https://coveralls.io/repos/github/kentaro-m/blackfriday-confluence/badge.svg?branch=add-goveralls)](https://coveralls.io/github/kentaro-m/blackfriday-confluence?branch=add-goveralls)\n[![Go Report Card](https://goreportcard.com/badge/github.com/kentaro-m/blackfriday-confluence)](https://goreportcard.com/report/github.com/kentaro-m/blackfriday-confluence)\n[![license](https://img.shields.io/github/license/kentaro-m/blackfriday-confluence.svg?style=flat-square)](https://github.com/kentaro-m/blackfriday-confluence/blob/master/LICENSE.md)\n\nBlackfriday-Confluence is confluence wiki renderer for the [Blackfriday v2](https://github.com/russross/blackfriday) markdown processor.\n\n## Features\n* :pencil2:Confluence wiki output\n* :angel:Support for some of the [Confluence Wiki Markup](https://confluence.atlassian.com/confcloud/confluence-wiki-markup-938044804.html)\n\n## Installation\n```\n$ go get -u github.com/kentaro-m/blackfriday-confluence\n```\n\n## Usage\n```go\nimport (\n  bf \"github.com/russross/blackfriday/v2\"\n  bfconfluence \"github.com/kentaro-m/blackfriday-confluence\"\n)\n\n// ...\nrenderer := \u0026bfconfluence.Renderer{}\nextensions := bf.CommonExtensions\nmd := bf.New(bf.WithRenderer(renderer), bf.WithExtensions(extensions))\ninput := \"# sample text\" // # sample text\nast := md.Parse([]byte(input))\noutput := renderer.Render(ast) // h1. sample text\nfmt.Printf(\"%s\\n\", output)\n// ...\n```\n\n## Examples\n\n### Input\n```\n# Section\nSome _Markdown_ text.\n\n## Subsection\nFoobar.\n\n### Subsubsection\nFuga\n\n\u003e quote\n\n- - - -\n\n**strong text**\n~~strikethrough text~~\n[Example Domain](http://www.example.com/)\n![](https://blog.golang.org/gopher/header.jpg)\n\n* list1\n* list2\n* list3\n\nhoge\n\n1. number1\n2. number2\n3. number3\n\nFirst Header  | Second Header\n------------- | -------------\nContent Cell  | Content Cell\nContent Cell  | Content Cell\n\n|a  |b  |c  |\n|---|---|---|\n|1  |2  |3  |\n|4  |5  |6  |\n```\n\n```go\npackage main\nimport \"fmt\"\nfunc main() {\n    fmt.Println(\"hello world\")\n}\n```\n\n### Output\n```\nh1. Section\nSome _Markdown_ text.\n\nh2. Subsection\nFoobar.\n\nh3. Subsubsection\nFuga\n\n{quote}\nquote\n\n{quote}\n\n----\n*strong text*\n-strikethrough text-\n[http://www.example.com/|Example Domain]\n!https://blog.golang.org/gopher/header.jpg!\n\n* list1\n* list2\n* list3\n\nhoge\n\n# number1\n# number2\n# number3\n\n||First Header||Second Header||\n|Content Cell|Content Cell|\n|Content Cell|Content Cell|\n\n||a||b||c||\n|1|2|3|\n|4|5|6|\n```\n\n```\n{code:language=go}\npackage main\nimport \"fmt\"\nfunc main() {\n    fmt.Println(\"hello world\")\n}\n{code}\n```\n\n## Documentation\n[GoDoc](https://godoc.org/github.com/kentaro-m/blackfriday-confluence)\n\n## Contributing\n\n### Issue\n\n* :bug: Report a bug\n* :gift: Request a feature\n\nPlease use the [GitHub Issue](https://github.com/kentaro-m/blackfriday-confluence/issues) to create a issue.\n\n### Pull Request\n\n1. Fork it (\u003chttps://github.com/kentaro-m/blackfriday-confluence/fork\u003e)\n2. Create your feature branch\n3. Run the test (`$ go test`) and make sure it passed :white_check_mark:\n4. Commit your changes :pencil:\n5. Push to the branch\n6. Create a new Pull Request :heart:\n\n## Thanks\nBlackfriday-Confluence is inspired by [Blackfriday-LaTeX](https://github.com/Ambrevar/blackfriday-latex).\n\n## License\n[MIT](https://github.com/kentaro-m/blackfriday-confluence/blob/master/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentaro-m%2Fblackfriday-confluence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkentaro-m%2Fblackfriday-confluence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentaro-m%2Fblackfriday-confluence/lists"}