UNPKG

on-codemerge

Version:

A WYSIWYG editor for on-codemerge is a user-friendly interface that allows users to edit and view their code in real time, exactly as it will appear in the final product

2 lines (1 loc) 578 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../types.cjs"),n={name:"yaml",patterns:{[e.TokenType.Comment]:/^#.*/,[e.TokenType.String]:/^(?:'(?:''|[^'])*'|"(?:\\.|[^"\\])*")/,[e.TokenType.Number]:/^-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/,[e.TokenType.Key]:/^[\w-]+(?=\s*:)/,[e.TokenType.Operator]:/^[:|>-]/,[e.TokenType.Punctuation]:/^[-?:,[\]{}]/,[e.TokenType.Variable]:/^\${[\w.-]+}/,[e.TokenType.Boolean]:/^(?:true|false|yes|no|on|off)\b/i},keywords:["true","false","null","yes","no","on","off"]};exports.yamlDefinition=n;