markdown library change

This commit is contained in:
Daniel Avila 2023-03-19 01:14:19 -04:00
parent d56aa2edef
commit 0b47218cd5
13 changed files with 4838 additions and 63 deletions

View file

@ -1,6 +1,6 @@
import React, { useState, useEffect } from 'react';
import hljs from 'highlight.js';
import languages from '~/utils/languages';
import { languages } from '~/utils/languages';
export default function Highlight({language, code}) {
const [highlightedCode, setHighlightedCode] = useState(code);