mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 02:06:29 +00:00
Merge branch 'master' into fix-autocomplete-codeblock
This commit is contained in:
@@ -29,14 +29,14 @@ class SnippetEditor extends React.Component {
|
||||
gutters: ['CodeMirror-linenumbers', 'CodeMirror-foldgutter'],
|
||||
autoCloseBrackets: {
|
||||
codeBlock: {
|
||||
pairs: '()[]{}\'\'""``',
|
||||
triples: '',
|
||||
explode: '[]{}``'
|
||||
pairs: this.props.codeBlockMatchingPairs,
|
||||
triples: this.props.codeBlockMatchingTriples,
|
||||
explode: this.props.codeBlockExplodingPairs
|
||||
},
|
||||
markdown: {
|
||||
pairs: '()[]{}\'\'""$$**``',
|
||||
triples: '```"""\'\'\'',
|
||||
explode: '[]{}``$$'
|
||||
pairs: this.props.matchingPairs,
|
||||
triples: this.props.matchingTriples,
|
||||
explode: this.props.explodingPairs
|
||||
}
|
||||
},
|
||||
mode: 'null'
|
||||
|
||||
Reference in New Issue
Block a user