bhauman / bhauman/devcards

[Feature request]: `<details>` support

Open
#164 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Clojure
Stars
1.5k
Forks
106
PR merge metrics
No merged PRs in 30d

Description

Hi. I was thinking about showing some collapsible source code and found that it can be done using markdown: https://gist.github.com/pierrejoubert73/902cc94d79424356a8d20be2b382e1ab#gistcomment-2705100

In devcards, it doesn't work with code blocks though.

This works (`hidden text` is visible only after clicking the arrow):
```

Source
hidden text

```

This doesn't work (code block is not inside `details` element anymore in DOM):
````

Source
```clojure
(prn \"hello\")
```

````

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.