{"id":13535675,"url":"https://github.com/dchenk/go-render-quill","last_synced_at":"2026-04-19T23:36:01.598Z","repository":{"id":40633449,"uuid":"115880151","full_name":"dchenk/go-render-quill","owner":"dchenk","description":"Render Quill insert Delta operations to HTML","archived":false,"fork":false,"pushed_at":"2023-04-01T00:54:21.000Z","size":36,"stargazers_count":41,"open_issues_count":6,"forks_count":15,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-22T17:47:44.844Z","etag":null,"topics":["go","quill","quill-delta","quilljs"],"latest_commit_sha":null,"homepage":null,"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/dchenk.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}},"created_at":"2017-12-31T18:45:39.000Z","updated_at":"2024-10-20T11:07:08.000Z","dependencies_parsed_at":"2024-01-14T02:36:58.775Z","dependency_job_id":"50b81d6c-99b0-4009-b2bd-42eb9f2ab02f","html_url":"https://github.com/dchenk/go-render-quill","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchenk%2Fgo-render-quill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchenk%2Fgo-render-quill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchenk%2Fgo-render-quill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchenk%2Fgo-render-quill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dchenk","download_url":"https://codeload.github.com/dchenk/go-render-quill/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246743590,"owners_count":20826558,"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":["go","quill","quill-delta","quilljs"],"created_at":"2024-08-01T09:00:20.707Z","updated_at":"2026-04-19T23:35:56.549Z","avatar_url":"https://github.com/dchenk.png","language":"Go","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# go-render-quill\n[![Build Status](https://travis-ci.org/dchenk/go-render-quill.svg?branch=master)](https://travis-ci.org/dchenk/go-render-quill)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fdchenk%2Fgo-render-quill.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fdchenk%2Fgo-render-quill?ref=badge_shield)\n\nPackage `quill` takes a Quill-based Delta (https://github.com/quilljs/delta) as a JSON array of `insert` operations\nand renders the defined HTML document.\n\nComplete documentation at GoDoc: [https://godoc.org/github.com/dchenk/go-render-quill](https://godoc.org/github.com/dchenk/go-render-quill)\n\n## Usage\n\n```go\nimport \"github.com/dchenk/go-render-quill\"\n\nvar delta = `[{\"insert\":\"This \"},{\"attributes\":{\"italic\":true},\"insert\":\"is\"},\n    {\"insert\":\" \"},{\"attributes\":{\"bold\":true},\"insert\":\"great!\"},{\"insert\":\"\\n\"}]`\n\nhtml, err := quill.Render(delta)\nif err != nil {\n\tpanic(err)\n}\nfmt.Println(string(html))\n// Output: \u003cp\u003eThis \u003cem\u003eis\u003c/em\u003e \u003cstrong\u003egreat!\u003c/strong\u003e\u003c/p\u003e\n```\n\n## Supported Formats\n\n### Inline\n - Background color\n - Bold\n - Text color\n - Italic\n - Link\n - Size\n - Strikethrough\n - Superscript/Subscript\n - Underline\n\n### Block\n - Blockquote\n - Header\n - Indent\n - List (ul and ol, including nested lists)\n - Text alignment\n - Code block\n\n### Embeds\n - Image (an inline format)\n\n## Extending\n\nThe simple `Formatter` interface is all you need to implement for most block and inline formats. Instead of `Render` use `RenderExtended`\nand provide a function that returns a `Formatter` for inserts that have the format you need.\n\nFor more control, you can also implement `FormatWriter` or `FormatWrapper`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdchenk%2Fgo-render-quill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdchenk%2Fgo-render-quill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdchenk%2Fgo-render-quill/lists"}