Skip to content

Commit

Permalink
fix index
Browse files Browse the repository at this point in the history
  • Loading branch information
sxm13 committed Dec 15, 2024
1 parent 675c08e commit a745a5b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,18 @@ <h2 id="tools-subtitle"><i class="bi bi-tools"></i>&nbsp;TOOLS</h2>
</div>
</footer>

<script>
document.addEventListener("DOMContentLoaded", () => {
fetch("contents/tools.md")
.then(response => response.text())
.then(markdown => {
const htmlContent = marked.parse(markdown);
document.getElementById("tools-md").innerHTML = htmlContent;
})
.catch(error => console.error("Error loading tools.md:", error));
});
</script>

</body>

</html>

0 comments on commit a745a5b

Please sign in to comment.