interactive
interactive copied to clipboard
Visual Studio Notebooks: newlines in string output are lost.
Describe the bug
When I run a cell that produces string output, and that output contains newline characters, the expected multiple lines are not shown.
I have attached screenshots of VS Code and VS formatting a multiple-line output of a TorchSharp tensor.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):1.0.310301
- OS
- [X] Windows 11
- [ ] Windows 10
- [ ] macOS
- [ ] Linux (Please specify distro)
- [ ] iOS
- [ ] Android
- Frontend
- [ ] Jupyter Notebook
- [ ] Jupyter Lab
- [ ] Interact
- [ ] Visual Studio Code
- [ ] Visual Studio Code Insiders
- [X] Visual Studio
- [ ] Other (please specify)
Screenshots
If applicable, add screenshots to help explain your problem.

Related with https://github.com/dotnet/interactive/issues/2012
Closing as support for notebooks in VS has been discontinued