Drop-in comments widget for internal HTML documents. Tenant-restricted to Microsoft via Entra ID.
Add to any HTML doc you want commentable:
<script src="https://doc-comments-evanhi.azurestaticapps.net/comments.js"
data-doc-id="your-unique-doc-id"
data-mount="#comments-panel"
defer></script>
<div id="comments-panel"></div>
data-doc-id (required) — unique slug per document; comments are partitioned by thisdata-mount — CSS selector for the container (default #comments-panel)data-anchors — auto (default) populates a dropdown from h1/h2/h3[id]; set off to disabledata-poll-seconds — refresh interval (default 15; set 0 to disable)data-theme — light (default) or darkThis page itself is hosting the widget: