markdown icon indicating copy to clipboard operation
markdown copied to clipboard

Should allow blank headers of depth greater than 1

Open kellyjosephprice opened this issue 4 years ago • 0 comments

https://github.github.com/gfm/#example-49

> JSON.stringify(window.RDMD.mdast("## "), null, 2)
"{
  "type": "root",
  "children": [
    {
      "type": "heading",
      "depth": 1,
      "children": []
    }
  ]
}"

kellyjosephprice avatar Jan 11 '21 21:01 kellyjosephprice