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