|
|
@ -30,7 +30,7 @@ |
|
|
|
}) |
|
|
|
}) |
|
|
|
.then(text => { |
|
|
|
.then(text => { |
|
|
|
const mainContent = document.getElementById('mainContent'); |
|
|
|
const mainContent = document.getElementById('mainContent'); |
|
|
|
mainContent.innerHTML = marked.parse(text); // Changed to marked.parse |
|
|
|
mainContent.innerHTML = marked.parse(text); |
|
|
|
}) |
|
|
|
}) |
|
|
|
.catch(error => { |
|
|
|
.catch(error => { |
|
|
|
console.error('Error loading content:', error); |
|
|
|
console.error('Error loading content:', error); |
|
|
|