diff --git a/browser/components/CodeEditor.js b/browser/components/CodeEditor.js index 9214363ed..7080b1fcb 100644 --- a/browser/components/CodeEditor.js +++ b/browser/components/CodeEditor.js @@ -657,8 +657,8 @@ export default class CodeEditor extends React.Component { const checkMarkdownNoteIsOpen = mode === 'Boost Flavored Markdown' return checkMarkdownNoteIsOpen ? { - 'getAnnotations': this.validatorOfMarkdown, - 'async': true + getAnnotations: this.validatorOfMarkdown, + async: true } : false } @@ -673,10 +673,10 @@ export default class CodeEditor extends React.Component { return } const lintOptions = { - 'strings': { - 'content': text + strings: { + content: text }, - 'config': lintConfigJson + config: lintConfigJson } return markdownlint(lintOptions, (err, result) => { diff --git a/lib/main.production.html b/lib/main.production.html index d6828acc4..aea19e3c6 100644 --- a/lib/main.production.html +++ b/lib/main.production.html @@ -10,6 +10,7 @@ + Boostnote @@ -129,6 +130,10 @@ + + + +