dotnet / interactive

.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
MIT License
2.88k stars 382 forks source link

Cannot output HTML from PowerShell #3509

Open thgla opened 5 months ago

thgla commented 5 months ago

Describe the bug

Outputting HTML from a PowerShell code block does not work currently, it just outputs the raw HTML without any formatting. It does work with other languages, such as C#. Outputting HTML from PowerShell is in the official samples, so I imagine it worked at some point.

I am on VS Code 1.88.0. Please see the screenshot highlighting the issue.

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):

Version: 1.0.520401+0d5f733dea8c25d8b9abeafa66f1c79828f447c9
Library version: 1.0.0-beta.24204.1+0d5f733dea8c25d8b9abeafa66f1c79828f447c9
Build date: 2024-04-05T09:11:47.6758066Z

Screenshots

image

jonsequitur commented 5 months ago

Related: https://github.com/dotnet/interactive/issues/2793#issuecomment-1453781539