mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-03-29 14:18:11 +00:00
add some comments
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { foldService, codeFolding } from '@codemirror/language';
|
||||
|
||||
const pageFoldExtension = [
|
||||
foldService.of((state, lineStart)=>{
|
||||
foldService.of((state, lineStart)=>{ //tells where to fold
|
||||
const doc = state.doc;
|
||||
const matcher = /^(?=\\page(?:break)?(?: *{[^\n{}]*})?$)/m;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user