Skip to content

Commit e0cea5d

Browse files
committed
Update Turndown to v7.2.1
Remove OTA fork as it provides no benefit. - List item spacing: one or two spaces before a bullet/number render identically in markdown. - Anchors with block elements: both implementations yield unsatisfactory results. With no clear winner, keeping a fork is unnecessary.
1 parent c41ff76 commit e0cea5d

File tree

3 files changed

+16
-18
lines changed

3 files changed

+16
-18
lines changed

package-lock.json

Lines changed: 14 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"@accordproject/concerto-util": "^3.24.0",
5454
"@accordproject/markdown-cicero": "^0.16.26",
5555
"@accordproject/markdown-pdf": "^0.16.25",
56-
"@opentermsarchive/turndown": "^7.1.3",
5756
"abort-controller": "^3.0.0",
5857
"ajv": "^8.17.1",
5958
"ajv-formats": "^3.0.1",
@@ -98,6 +97,7 @@
9897
"simple-git": "^3.28.0",
9998
"swagger-jsdoc": "^6.2.8",
10099
"swagger-ui-express": "^5.0.1",
100+
"turndown": "^7.2.1",
101101
"winston": "^3.17.0",
102102
"winston-mail": "^2.0.0"
103103
},

src/archivist/extract/markdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import ciceroMark from '@accordproject/markdown-cicero';
22
import mardownPdf from '@accordproject/markdown-pdf';
3-
import TurndownService from '@opentermsarchive/turndown';
43
import turndownPluginGithubFlavouredMarkdown from 'joplin-turndown-plugin-gfm';
4+
import TurndownService from 'turndown';
55

66
const turndownService = new TurndownService();
77

0 commit comments

Comments
 (0)