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

feat: support collapsible example blocks #7

Open
ghostsquad opened this issue Jul 15, 2020 · 2 comments
Open

feat: support collapsible example blocks #7

ghostsquad opened this issue Jul 15, 2020 · 2 comments

Comments

@ghostsquad
Copy link

Similar to this:
https://golang.org/pkg/encoding/json/#HTMLEscape

Example

Example
<details>
<summary>Example</summary>

```jsonnet
this is an example
```
</details>
@sh0rez
Copy link
Member

sh0rez commented Aug 17, 2020

Because docsonnet output is usually processed my a Markdown parser, above HTML snippet would work.

Agreed, there is probably a better syntax. Suggestions?

@ghostsquad
Copy link
Author

I don't think there's better markdown compatible syntax

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

2 participants