diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-09-15 00:25:51 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-09-15 11:02:28 +0800 |
commit | 19aa38f4c29ea2349207a25292d1970ce596b3f1 (patch) | |
tree | 030ce837fdaf8de35ae572b4c9fd3b171cd68f42 | |
parent | dfc9ccff45df96d0ffbfef71bbec0a7233b8f391 (diff) |
style: Reformat code
-rw-r--r-- | src/editor.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor.mjs b/src/editor.mjs index b93f9ba..67f0d6a 100644 --- a/src/editor.mjs +++ b/src/editor.mjs | |||
@@ -227,7 +227,7 @@ const insideCodeblockForMap = (anchor) => { | |||
227 | const content = cm.getLine(line) | 227 | const content = cm.getLine(line) |
228 | if (content === '```map') { | 228 | if (content === '```map') { |
229 | return true | 229 | return true |
230 | } else if (content === '```'){ | 230 | } else if (content === '```') { |
231 | return false | 231 | return false |
232 | } | 232 | } |
233 | line = line - 1 | 233 | line = line - 1 |