Skip to content

YAML block formatting for expression string #782

@dcecile

Description

@dcecile

My expression has newlines, which show up fine in cargo insta review, but it would be nice to have the string be block formatted in the YAML text (e.g. for review in PRs):

---
source: sheets/src/evaluation/functions/math/abs.rs
expression: "mock_eval_sheet_data(array![[\"-1\", \"=ABS(A1)\"], [\"1\", \"=ABS(A2)\"],\n[\"0\", \"=ABS(A3)\"], [\"10000\", \"=ABS(A4)\"]]).await"
---
[[[-1.0], [1.0]],
 [[1.0], [1.0]],
 [[0.0], [0.0]],
 [[10000.0], [10000.0]]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions