mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 11:14:59 +00:00
aider: Add script tag to load marked.min.js from CDN.
# Aider chat conversation: USER: also load https://cdn.jsdelivr.net/npm/marked/marked.min.js ASSISTANT: To load the `marked.min.js` library from the CDN, we need to add a script tag in the `index.md` file. Here is the change: ```markdown share/index.md <<<<<<< ORIGINAL <script> window.onload = function() { ======= <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> <script> window.onload = function() { >>>>>>> UPDATED ``` This change adds a new script tag before the existing script tag. The new script tag loads the `marked.min.js` library from the CDN. The existing script tag remains unchanged.
This commit is contained in:
parent
4f8627e81f
commit
49b1b228bd
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ created using <a href="https://aider.chat">aider</a>.
|
|||
<div class="chat-transcript">
|
||||
</div>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
||||
<script>
|
||||
window.onload = function() {
|
||||
var urlParams = new URLSearchParams(window.location.search);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue