This commit is contained in:
parent
dcde0cb893
commit
b1422269bb
@ -6,6 +6,7 @@ import { KeyboardEvent } from "react";
|
||||
const md = new MarkdownIt({
|
||||
linkify: true,
|
||||
typographer: true,
|
||||
breaks: true,
|
||||
highlight: (str, lang) => {
|
||||
if (lang && hljs.getLanguage(lang)) {
|
||||
try {
|
||||
|
@ -18,6 +18,7 @@ export async function savePostServer(
|
||||
const md = new MarkdownIt({
|
||||
linkify: true,
|
||||
typographer: true,
|
||||
breaks: true,
|
||||
highlight: (str, lang) => {
|
||||
if (lang && hljs.getLanguage(lang)) {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user