1
0
mirror of https://github.com/lencx/ChatGPT.git synced 2024-10-01 01:06:13 -04:00

Additional markdown export modifications

This commit is contained in:
Dustin Darcy 2023-10-20 22:34:08 -04:00
parent c68f1ab45b
commit f4dca6dc79
2 changed files with 2 additions and 1 deletions

2
.gitignore vendored
View File

@ -5,7 +5,7 @@ node_modules/
.pnp.* .pnp.*
# Testing # Testing
private/ *private*/
# rust # rust
target/ target/

View File

@ -11,6 +11,7 @@ var ExportMD = (function () {
const turndownService = new TurndownService({ const turndownService = new TurndownService({
hr: '---', hr: '---',
}) })
.keep([`\\`])
.use(gfm) .use(gfm)
.addRule('code', { .addRule('code', {
filter(node) { filter(node) {