import React from "react"; import hljs from "highlight.js/lib/core"; import markdown from "highlight.js/lib/languages/markdown"; import "highlight.js/styles/devibeans.css"; import "../index.css"; hljs.registerLanguage("markdown", markdown); function update(text) { let result_element = document.querySelector("#highlight-content"); result_element.innerText = text; return hljs.highlight(text, { language: "markdown" }).value; } function CreateTextArea() { return ; } function CreatePreCode() { return (
); } export default function Left() { return (