clerk

Ben Sless 2024-03-11T07:17:01.716929Z

Is it possible to embed the contents of other files as collapsible sections in other files? I want to provide code examples in addition to text, but separate every example to its own file

Ellis 2024-03-11T12:04:42.119229Z

slurp with code hidden?

Ben Sless 2024-03-11T12:45:18.766809Z

I want users to be able to see the code and its results, not just the contents 🤔 It's probably not clear from the description, but the code examples should be evaluated normally like they would be in clerk

👍 1
respatialized 2024-03-11T15:11:30.872979Z

clerk/html + <details> tag might be enough; nested viewers can handle the rest

Ben Sless 2024-03-11T15:51:12.171769Z

doc or example of nested viewers would be very much appreciated 🙏