PHP code example of repomaa / statamic-unaugment

1. Go to this page and download the library: Download repomaa/statamic-unaugment library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

repomaa / statamic-unaugment example snippets

json
{
  "data": {
    // ...
    "bard": [
      {
        "content": [
          {
            "text": "Foobar Foo",
            "type": "text"
          },
          {
            "type": "hard_break"
          },
          {
            "type": "hard_break"
          },
          {
            "marks": [
              {
                "type": "bold"
              }
            ],
            "text": "Bold stuff!",
            "type": "text"
          }
        ],
        "type": "paragraph"
      },
      {
        "attrs": {
          "level": 2
        },
        "content": [
          {
            "text": "Header!",
            "type": "text"
          }
        ],
        "type": "heading"
      },
      {
        "content": [
          {
            "marks": [
              {
                "type": "italic"
              }
            ],
            "text": "Cursive",
            "type": "text"
          }
        ],
        "type": "paragraph"
      }
    ]
    // ...
  }
}