Fork me on GitHub
#clerk
<
2024-03-11
>
Ben Sless07:03:01

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

Ellis12:03:42

slurp with code hidden?

Ben Sless12:03:18

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

👍 1
respatialized15:03:30

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

Ben Sless15:03:12

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