egoist
12/7/2016 - 5:20 PM

docute-example.html

<div id="#app"></div>

<script src="/path/to/docute.js"></script>
<script>
  docute.data.toc
  /*
  [
    {title: 'head title', children: []}
  ]
  */
  docute.data.html
</script>