use breaks in markdown
All checks were successful
Build / build (push) Successful in 2m32s

This commit is contained in:
Nareshkumar Rao 2025-04-03 00:20:47 +02:00
parent dcde0cb893
commit b1422269bb
2 changed files with 2 additions and 0 deletions

View File

@ -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 {

View File

@ -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 {