Skip to content
pinptPublic

About

This repo contains Golang utilities for working with Atlassian Document Format content

Resources

Stars

6 stars

Watchers

8 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pinpt-logo

This repo contains Golang utilities for working with Atlassian Document Format content

Overview

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.

Install

go get -u github.com/pinpt/adf

Usage

import github.com/pinpt/adf

buf, err := adf.GenerateHTMLFromADF([]byte(`{
  "version": 1,
  "type": "doc",
  "content": [
    {
      "type": "paragraph",
      "content": [
        {
          "type": "text",
          "text": "Hello world"
        }
      ]
    }
  ]
}`))

License

Licensed under the MIT License.

About

This repo contains Golang utilities for working with Atlassian Document Format content

Resources

Stars

6 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages