Skip to content

YAML blocks will not preserve their single quotes when using format tool #7881

@margaretkennedy

Description

@margaretkennedy

The salmon-formatter's pretty_yaml plugin changes single quotes to double quotes in YAML code blocks.

  • Neither nor comments prevent this
  • The Docker image at ghcr.io/deephaven/salmon-formatter:1 has its own bundled /dprint.json that ignores the local config file
  • Suggested fix: Configure the YAML plugin to preserve quotes or respect dprint-ignore comments in markdown code blocks
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions