Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate terminal output #1189

Open
texastoland opened this issue Jan 1, 2024 · 1 comment
Open

Generate terminal output #1189

texastoland opened this issue Jan 1, 2024 · 1 comment

Comments

@texastoland
Copy link
Contributor

texastoland commented Jan 1, 2024

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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant