Skip to content

Commit 29e7979

Browse files
committed
fix(dotprompt-codemirror): remove internal markup from end-user features
1 parent bb87a74 commit 29e7979

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

packages/codemirror/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ CodeMirror 6 language support for Dotprompt (`.prompt`) files.
44

55
## Features
66

7-
- **Syntax Highlighting**: YAML frontmatter, Handlebars templates, Dotprompt
8-
markers
7+
- **Syntax Highlighting**: YAML frontmatter, Handlebars templates
98
- **Autocompletion**: Helpers, frontmatter fields, model names
109
- **Theming**: Dark and light theme support
1110

packages/codemirror/src/language.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,6 @@ export const dotpromptStreamParser = {
155155
return 'comment';
156156
}
157157

158-
// Dotprompt markers
159-
if (stream.match(/<<<dotprompt:[^>]+>>>/)) {
160-
return 'keyword';
161-
}
162-
163158
// Handlebars block start {{#helper
164159
if (stream.match(/\{\{#/)) {
165160
state.context = 'handlebars';

0 commit comments

Comments
 (0)