Closed Uzay-G closed 3 years ago
When you load the required scripts, eg:
<script src="https://cdn.jsdelivr.net/npm/markdown-it@12.0.3/dist/markdown-it.min.js"></script> <script src="https://unpkg.com/markdown-it-anchor/dist/markdownItAnchor.umd.js"></script> <script src="https://unpkg.com/markdown-it-toc-done-right/dist/markdownItTocDoneRight.umd.js"></script>
The markdownItAnchor and markdownItTocDoneRight are defined as window.markdownItAnchor and window.markdownItTocDoneRight, with the i of markdownit uppercased.
markdownItAnchor
markdownItTocDoneRight
window.markdownItAnchor
window.markdownItTocDoneRight
i
This typo makes the current code fail, but this PR fixes it accordingly.
When you load the required scripts, eg:
The
markdownItAnchor
andmarkdownItTocDoneRight
are defined aswindow.markdownItAnchor
andwindow.markdownItTocDoneRight
, with thei
of markdownit uppercased.This typo makes the current code fail, but this PR fixes it accordingly.