format_m
Format Power Query M expressions or section documents into readable, one-step-per-line code while preserving comments and verifying token-for-token equivalence to prevent meaning changes.
Instructions
Pretty-print M (an expression or a section document): one step per line, long calls broken at their arguments, comments kept. The output is verified token-for-token against the input, so meaning can never change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formula | Yes |