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

Examples: Updated content header #2232

Merged

Conversation

RunDevelopment
Copy link
Member

This updates the generated content header for examples to show all types of dependencies a component has. The generated text is usually shorter than the previous one and links to an explanation of Prism dependencies.

image

I also removed the overrideExampleHeader option which was used by only 2 components and caused dependencies to be hidden.

@RunDevelopment RunDevelopment merged commit 6232878 into PrismJS:master Mar 7, 2020
@RunDevelopment RunDevelopment deleted the examples-content-header-update branch March 7, 2020 10:37
quentinvernot pushed a commit to TankerHQ/prismjs that referenced this pull request Sep 11, 2020
This changes the automatically generated header of examples on Prism's example page.

The `overrideExampleHeader` option in `components.json` is no longer supported.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants