Sign inSign up

wouterken/html2adf

By wouterken

•Updated 5 months ago

Docker images for the html2adf CLI utility

Image
0

2.1K

wouterken/html2adf repository overview

⁠html2adf

This is the Docker image for the html2adf utility.

⁠Usage

$ echo "<h1>Hello world<p>Test</p></h1>" | docker run --rm -i wouterken/html2adf:0.1.2
{"version":1,"type":"doc","content":[{"type":"heading","attrs":{"level":1},"content":[{"type":"text","text":"Hello world"},{"type":"text","text":"Test"}]}]}

$ echo "<h1>Hello world<p>Test</p></h1>" | docker run --rm -i wouterken/html2adf:0.1.2 | jq
{
  "version": 1,
  "type": "doc",
  "content": [
    {
      "type": "heading",
      "attrs": {
        "level": 1
      },
      "content": [
        {
          "type": "text",
          "text": "Hello world"
        },
        {
          "type": "text",
          "text": "Test"
        }
      ]
    }
  ]
}

⁠See more here:

https://github.com/wouterken/htmltoadf⁠

Tag summary

Content type

Image

Digest

sha256:bf173f495…

Size

27.9 MB

Last updated

5 months ago

docker pull wouterken/html2adf