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:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user