Skip to content
/ adf Public

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

License

Notifications You must be signed in to change notification settings

pinpt/adf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published

Languages