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:
parent
c68f1ab45b
commit
f4dca6dc79
2
.gitignore
vendored
2
.gitignore
vendored
@ -5,7 +5,7 @@ node_modules/
|
|||||||
.pnp.*
|
.pnp.*
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
private/
|
*private*/
|
||||||
|
|
||||||
# rust
|
# rust
|
||||||
target/
|
target/
|
||||||
|
1
scripts/markdown.export.js
vendored
1
scripts/markdown.export.js
vendored
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user