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
It only handles basic comments in a PS1 file for conversion to a ipynb. Not sure what the effort or how to upgrade it so comments in a function, at the end of a line won't get emitted as a markdown cell.
Not sure. When it was just UTF8 the ipynb would not open in VS code, it gave an error something like "bad token at position 0"
I'm fairly sure UTF8 (with BOM) opens elsewhere - including Azure data studio where one can use Windows PowerShell without installing .Net interactive. If that's the case we (cough... I) should probably file a bug against .Net Interactive because they shouldn't fail to process files which other things process successfully. Let's avoid compat issues if practical.
Activity
jhoneill commentedon May 10, 2021
Not sure. When it was just UTF8 the ipynb would not open in VS code, it gave an error something like "bad token at position 0"
I'm fairly sure UTF8 (with BOM) opens elsewhere - including Azure data studio where one can use Windows PowerShell without installing .Net interactive. If that's the case we (cough... I) should probably file a bug against .Net Interactive because they shouldn't fail to process files which other things process successfully. Let's avoid compat issues if practical.
dfinke commentedon May 10, 2021
I believe the notebook will open. The
ConvertTo-PowerShellNoteBookfunction will fail to run on PS 5 though.