Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Fix getting turndown rules from preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
argenos committed Mar 28, 2021
1 parent ce170ae commit 1f0c3f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/markdown-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const Turndown = require('joplin-turndown').default
const converter = new Turndown({
headingStyle: 'atx',
hr: '---',
bulletListMarker: Zotero.Prefs.get(`extensions.mdnotes.html2md.default.bullet`, true),
strongDelimiter: Zotero.Prefs.get(`extensions.mdnotes.html2md.default.strong`, true),
emDelimiter: Zotero.Prefs.get(`extensions.mdnotes.html2md.default.em`, true)
bulletListMarker: Zotero.Prefs.get('extensions.mdnotes.html2md.default.bullet', true),
strongDelimiter: Zotero.Prefs.get('extensions.mdnotes.html2md.default.strong', true),
emDelimiter: Zotero.Prefs.get('extensions.mdnotes.html2md.default.em', true)
})

function hasStyle(node, property, value) {
Expand Down

0 comments on commit 1f0c3f2

Please sign in to comment.