diff --git a/public/images/NoteIcon.svg b/public/images/NoteIcon.svg
new file mode 100644
index 0000000..b333028
--- /dev/null
+++ b/public/images/NoteIcon.svg
@@ -0,0 +1,15 @@
+
+
+
diff --git a/public/images/SeeAlsoIcon.svg b/public/images/SeeAlsoIcon.svg
new file mode 100644
index 0000000..31fd169
--- /dev/null
+++ b/public/images/SeeAlsoIcon.svg
@@ -0,0 +1,10 @@
+
+
+
diff --git a/public/images/WarningIcon.svg b/public/images/WarningIcon.svg
new file mode 100644
index 0000000..1875a84
--- /dev/null
+++ b/public/images/WarningIcon.svg
@@ -0,0 +1,23 @@
+
+
+
diff --git a/src/assets/pages/documentation/Body.jsx b/src/assets/pages/documentation/Body.jsx
index 0b3f5a7..3bde130 100644
--- a/src/assets/pages/documentation/Body.jsx
+++ b/src/assets/pages/documentation/Body.jsx
@@ -2,7 +2,7 @@ import React, { useContext, useEffect, useState } from "react";
import { PageChange } from ".";
import { motion } from "framer-motion";
import Image from "./Image";
-import parse from "html-react-parser";
+import parse, { domToReact } from "html-react-parser";
export default function Body({ initialPage }) {
const [page, setPage] = useContext(PageChange);
@@ -12,9 +12,9 @@ export default function Body({ initialPage }) {
(async () => {
setHTML(null);
let p = page;
- if (initialPage === undefined) return
+ if (initialPage === undefined) return;
if (page === "home") {
- p = initialPage.slice(0, -3)
+ p = initialPage.slice(0, -3);
}
const data = await fetch(`/docs/${p}.html`);
if (data.status === 404) {
@@ -27,7 +27,7 @@ export default function Body({ initialPage }) {
}, [page, initialPage]);
const options = {
- replace: ({ name, attribs, children }) => {
+ replace: ({ name, attribs, children, data }) => {
//convert all images to clickable images
if (name === "img") {
return
{domToReact(children, options)}
+