You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+51Lines changed: 51 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ A TypeScript library for parsing and serializing multiple code files in Markdown
18
18
- Numbered Bold Format (`1. **filename.js**`)
19
19
- Numbered Backtick Format (`### 1. `filename.js``)
20
20
21
+
- Streaming parser for real-time code editing views
21
22
- Serialize code files back to Markdown in a consistent format
22
23
- TypeScript support with full type definitions
23
24
- Zero dependencies
@@ -124,6 +125,56 @@ Optional `format` parameter to specify a particular format to parse:
124
125
125
126
Converts an array of file objects into a Markdown string using the Bold Format.
126
127
128
+
### StreamingMarkdownParser
129
+
130
+
A streaming parser that processes Markdown content chunk by chunk, emitting callbacks when file names or code blocks are detected. This is particularly useful for real-time code editing views where users can see LLMs edit specific files as they generate content.
Currently, the streaming parser only supports the "Bold Format" (`**filename.js**`), but is designed to be extensible for supporting additional formats in the future.
0 commit comments