-
Notifications
You must be signed in to change notification settings - Fork 1
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
make code examples interactive #6
Conversation
Signed-off-by: Stephan Renatus <[email protected]>
Signed-off-by: Stephan Renatus <[email protected]>
Signed-off-by: Stephan Renatus <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The way we present the cheat sheet in its repo, I think it's made clear that our docs should be considered the canonical source. Making those interactive is a big win!
Hmm something unexpected happened. It's not working right now. I'll sort it out first thing tomorrow, but we could also revert this. |
Looks like the hidden preamble is eaten by docusaurus in prod build mode? Everything was nice for dev 🙄 So one fix would be to present the preamble instead. |
Ah, too bad! Yeah, let’s come back tomorrow:) |
Ok that didn't do it. 😵 Tomorrow it is then. |
🤦 I had the depends logic in a WIP PR. well, easy to fix. |
Done 🥳 Should go live in a few minutes. |
This changes the markdown generation so that it injects the tags that our website uses.
I'm a bit on the fence -- it makes the markdown less useful to other people, but it would be so nice to have interactive examples on the website 🤔