You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When converting hash tables where a node contains multiple lines the ConvertTo-Yaml cmdlet currently puts everything on the same row and escapes the special characters like the example below:
I'm using this module to write yaml files containing code blocks and putting everything on the same row hurts readability. (it is still functional though).
The text was updated successfully, but these errors were encountered:
When converting hash tables where a node contains multiple lines the ConvertTo-Yaml cmdlet currently puts everything on the same row and escapes the special characters like the example below:
install: "Start-Transcript -Path "C:\Windows\Logs\Software\Audacity.Audacity-winget-install.log"
It would be nice if the cmdlet automatically interpreted the value as multi-line scalar like this:
install: |
Start-Transcript -Path "C:\Windows\Logs\Software\Audacity.Audacity-winget-install.log
I'm using this module to write yaml files containing code blocks and putting everything on the same row hurts readability. (it is still functional though).
The text was updated successfully, but these errors were encountered: