1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-12 17:26:17 +00:00

Merge branch 'master' into master

This commit is contained in:
ibraude
2020-01-07 12:11:27 +02:00
committed by GitHub
45 changed files with 866 additions and 272 deletions

View File

@@ -663,8 +663,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
}
@@ -679,10 +679,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) => {