Ivan Asmer hace 4 años
padre
commit
3c7294cab2
Se han modificado 1 ficheros con 22 adiciones y 22 borrados
  1. 22 22
      index.mjs

+ 22 - 22
index.mjs

@@ -4,27 +4,6 @@
 
 
 const syntax = {
-    p:{
-        paired: true,
-        recursive: false,
-        startRegexp: /\n\n\s*\S/,
-        endRegexp: /\n/,
-        content: {
-            start: {
-                point: 'start',
-                offset: 2
-            },
-            end: {
-                point: 'start',
-                offset: 0
-            }
-        },
-        begin: 0,
-        forward: {
-            point: 'end', //start, startEnd, end, endEnd
-            offset: 0
-        },
-    },
     img:{
         paired: true,
         recursive: false,
@@ -490,7 +469,28 @@ const syntax = {
             point: 'end',
             offset: 0
         }
-    }
+    },
+    p:{
+        paired: true,
+        recursive: false,
+        startRegexp: /\n\n\s*\S/,
+        endRegexp: /\n/,
+        content: {
+            start: {
+                point: 'start',
+                offset: 2
+            },
+            end: {
+                point: 'start',
+                offset: 0
+            }
+        },
+        begin: 0,
+        forward: {
+            point: 'end', //start, startEnd, end, endEnd
+            offset: 0
+        },
+    },
 }
 
 const indentRegexp = (regexp,count) => new RegExp(`\\n([ \\t]${count === undefined ? '*' : `{${count}}` })` + regexp.toString().slice(1,-1))