mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 00:16:29 +02:00
fix copilot ui code-block recognition
This commit is contained in:
parent
ade96aee13
commit
fcfe5593b4
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ const copilotCodeMarker = "copilot_change\n";
|
|||
function parseMarkdown(markdown: string): Block[] {
|
||||
// Split on triple backticks but keep the delimiters
|
||||
// This gives us the raw content between and including delimiters
|
||||
const parts = markdown.split("```");
|
||||
const parts = markdown.split("\n```");
|
||||
const blocks: Block[] = [];
|
||||
|
||||
for (const part of parts) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue