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:
Paul Gauthier 2023-08-07 11:06:35 -03:00
parent 4f8627e81f
commit 49b1b228bd

View file

@ -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);