rulemorph 0.3.4

YAML-based declarative data transformation engine for CSV/JSON to JSON
Documentation
[
  {
    "blocks": [
      {
        "id": "b1",
        "inlines": [
          {
            "text": "Inline",
            "type": "text"
          }
        ],
        "level": 1,
        "parent_block_id": null,
        "section_id": "s1-1",
        "text": "Inline",
        "type": "heading"
      },
      {
        "id": "b2",
        "inlines": [
          {
            "text": "First line",
            "type": "text"
          },
          {
            "type": "soft_break"
          },
          {
            "text": "second line with ",
            "type": "text"
          },
          {
            "children": [
              {
                "text": "em",
                "type": "text"
              }
            ],
            "type": "emphasis"
          },
          {
            "text": " and ",
            "type": "text"
          },
          {
            "children": [
              {
                "text": "strong",
                "type": "text"
              }
            ],
            "type": "strong"
          },
          {
            "text": " and ",
            "type": "text"
          },
          {
            "children": [
              {
                "text": "strike",
                "type": "text"
              }
            ],
            "type": "strikethrough"
          },
          {
            "text": " and ",
            "type": "text"
          },
          {
            "text": "code",
            "type": "code"
          },
          {
            "text": " and ",
            "type": "text"
          },
          {
            "children": [
              {
                "text": "link",
                "type": "text"
              }
            ],
            "text": "link",
            "title": "Example",
            "type": "link",
            "url": "https://example.com"
          },
          {
            "text": " and ",
            "type": "text"
          },
          {
            "alt": "logo",
            "children": [
              {
                "text": "logo",
                "type": "text"
              }
            ],
            "title": "Logo",
            "type": "image",
            "url": "https://example.com/logo.png"
          },
          {
            "text": " and ",
            "type": "text"
          },
          {
            "html": "<span>",
            "type": "html_inline"
          },
          {
            "text": "raw",
            "type": "text"
          },
          {
            "html": "</span>",
            "type": "html_inline"
          },
          {
            "type": "line_break"
          },
          {
            "text": "next line.",
            "type": "text"
          }
        ],
        "parent_block_id": null,
        "section_id": "s1-1",
        "text": "First line second line with em and strong and strike and code and link and logo and raw next line.",
        "type": "paragraph"
      }
    ],
    "body_text": "Inline First line second line with em and strong and strike and code and link and logo and raw next line.",
    "images": [
      {
        "alt": "logo",
        "block_id": "b2",
        "title": "Logo",
        "url": "https://example.com/logo.png"
      }
    ],
    "links": [
      {
        "block_id": "b2",
        "text": "link",
        "title": "Example",
        "url": "https://example.com"
      }
    ],
    "raw_html": [
      {
        "block_id": "b2",
        "html": "<span>",
        "kind": "inline"
      },
      {
        "block_id": "b2",
        "html": "</span>",
        "kind": "inline"
      }
    ]
  }
]