-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Open
Labels
featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This is not a bug or issue with Docusausus, per se. It is a feature request for the future.status: needs triageThis issue has not been triaged by maintainersThis issue has not been triaged by maintainers
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Description
In addition to custom heading IDs, also allow setting custom heading classes.
Has this been requested on Canny?
No response
Motivation
This allows custom styling via CSS or filtering via JS.
API design
For example, I can imagine a syntax as follows:
# Heading {#id .class1 .class2}Have you tried building it?
This could be implemented in the heading remark plugin where custom IDs are already processed.
Self-service
- I'd be willing to contribute this feature to Docusaurus myself.
Metadata
Metadata
Assignees
Labels
featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This is not a bug or issue with Docusausus, per se. It is a feature request for the future.status: needs triageThis issue has not been triaged by maintainersThis issue has not been triaged by maintainers