aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/editor.mjs
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-09-15 00:25:51 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-09-15 11:02:28 +0800
commit19aa38f4c29ea2349207a25292d1970ce596b3f1 (patch)
tree030ce837fdaf8de35ae572b4c9fd3b171cd68f42 /src/editor.mjs
parentdfc9ccff45df96d0ffbfef71bbec0a7233b8f391 (diff)
style: Reformat code
Diffstat (limited to 'src/editor.mjs')
-rw-r--r--src/editor.mjs2
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