We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
vitepress
I had received a request in the past like below from @RyanYANG52:
use details summary or div dynamically, like in vitepress
I wanted to open an issue about that.
The text was updated successfully, but these errors were encountered:
I figure out that the remark-flexible-containers can create details-summary HTML element easily with the below options:
remark-flexible-containers
details-summary
import remarkFlexibleContainer from "remark-flexible-containers"; use(remarkFlexibleContainer, { containerTagName(type) { return type === "details" ? "details" : "div"; }, containerClassName(type) { return type === "details" ? ["remark-details"] : ["remark-container", type ?? ""]; }, titleTagName(type) { return type === "details" ? "summary" : "div"; }, titleClassName(type) { return type === "details" ? ["remark-summary"] : ["remark-container-title"]; }, })
If community want me to include this opinionated "details" type in to the package, would nice to receive a PR (Pull Request).
Sorry, something went wrong.
No branches or pull requests
I had received a request in the past like below from @RyanYANG52:
I wanted to open an issue about that.
The text was updated successfully, but these errors were encountered: