nushell.github.io icon indicating copy to clipboard operation
nushell.github.io copied to clipboard

Generate terminal output

Open texastoland opened this issue 2 years ago • 1 comments

The current output isn't up to date. Tables aren't nested (#917). It's also a maintenance burden to identify examples to update (#774) for breaking changes. My proposal is to generate the output at build time.

I use the Markdown Preview Enhanced VS Code extension that provides this exact feature. Its author also provides a library called https://github.com/shd101wyy/crossnote. The API we're looking for (whether dependency or inspiration) is MarkdownEngine#runCodeChunks.

Also shout out to @shd101wyy for an amazing tool 👏🏼 I'm happy to attempt implementation when I have time.

texastoland avatar Jan 01 '24 05:01 texastoland

Need to explore incorporating this as an action with https://github.com/hustcer/setup-nu 💭

texastoland avatar Mar 16 '24 21:03 texastoland