This repo contains Golang utilities for working with Atlassian Document Format content
The Atlassian Document Format (ADF) represents rich text stored in Atlassian products. For example, in Jira Cloud platform, the text in issue comments and in textarea custom fields is stored as ADF.
This library provides a set of utilities in Golang for dealing with ADF content.
go get -u github.com/pinpt/adf
import github.com/pinpt/adf
buf, err := adf.GenerateHTMLFromADF([]byte(`{
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Hello world"
}
]
}
]
}`))
Licensed under the MIT License.