technote-space/doctoc

add support html mode

technote-space opened this issue · 1 comments

isHtml
htmlTemplate
itemTemplate
separator

e.g.

htmlTemplate

<p align="center">
  ${ITEMS}
</p>

itemTemplate

<a href="${LINK}">${TEXT}</a>

separator

<span>|</span>

e.g.

<p align="center">
  <a href="#installation">Installation</a>
  <span>|</span>
  <a href="#usage">Usage</a>
  <span>|</span>
  <a href="#api">API</a>
  <span>|</span>
  <a href="#demo">Demo</a>
  <span>|</span>
  <a href="#acknowledgement">Acknowledgement</a>
</p>

Installation | Usage | API | Demo | Acknowledgement