aboutsummaryrefslogtreecommitdiff
path: root/assets/strapdown.js
Commit message (Collapse)AuthorAgeFilesLines
* fix(markdown): vendor strapdown.js instead of a plain-HTTP CDNCraig Jennings15 hours1-0/+5
The live markdown preview pulled strapdown.js from http://ndossougbe.github.io over plain HTTP. That broke the preview with no network, loaded third-party JS over an unencrypted connection (mixed content, MITM), and trusted an unmaintained github.io page against the localhost preview. I vendored the self-contained bundle (jQuery, marked, bootstrap themes) into assets/strapdown.js and embed it inline. The whole preview now serves from localhost and works offline. cj/markdown-html reads the file once and caches it.