Skip to content

[bug] VSCode extension formatting of ##"..."## strings #1934

@Elijas

Description

@Elijas

Formatting is visually broken

Product

VSCode extension

Describe the bug

Image

Reproduction Steps

test short_story_txt_inlined {
    functions [SummarizeShortStory]
    args {
        story ##"**Title: The Data Whisperer**

Mira found the USB stick in a crack between the floorboards. Plugging it in, she found a single file named `message.json`. Her heart raced as she opened it:

#"
{
  "from": "Unknown",
  "to": "Mira",
  "message": "The key is hidden in the lantern. Trust no one. \u2728"
}
"#

The lantern flickered in the corner of the room. She stood, whispering, "Game on."
"##
    }
}

BAML Version

0.87.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmed by the BAML team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions