📝 Interactive tutorials with Polyglot notebooks #734
FH-Inway
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For some time, I've been playing around with the idea of literate programming and the form it is most commonly used today, notebooks.
For PowerShell, creating notebooks has become pretty easy with the Polyglot Visual Studio Code extension provided by .NET Interactive
So today I gave it a spin with a prototype for an interactive tutorial for the d365fo.tools. Take a look at Get-Started.ipynb. Basically, the notebook lets the reader run the PowerShell commands from within the tutorial. They also see the output of the command and can modify the command or add their own.
There are still some kinks to work out, as you can see from the error and warning messages. Seems Polyglot runs PowerShell version 7.0, which would require merging #663 (to get rid of dependencies that require .NET Framework) and some other work (see #664 ).
Beta Was this translation helpful? Give feedback.
All reactions