Closed juanpms2 closed 9 months ago
Install markdown-it library about dependencies on manfred2HTML package: npm install markdown-it
npm install markdown-it
https://github.com/markdown-it/markdown-it
Create a function into the mappers:
import markdownIt from 'markdown-it'; export const mapMarkdownToHTML = (md: string): string => { ... };
markdown-it configuration is:
{ html: true, breaks: true, xhtmlOut: true, linkify: false, typographer: false, }
Use this function on the section to check it is run well.
Steps:
Install markdown-it library about dependencies on manfred2HTML package:
npm install markdown-it
https://github.com/markdown-it/markdown-it
Create a function into the mappers:
markdown-it configuration is:
Use this function on the section to check it is run well.