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

Markdown front matter #2634

Merged
merged 5 commits into from Nov 25, 2020
Merged

Conversation

@RunDevelopment
Copy link
Member

@RunDevelopment RunDevelopment commented Nov 13, 2020

This fixes #2115.


This is a branch of #2632 and blocked by it.

@RunDevelopment RunDevelopment merged commit 5cf9cfb into PrismJS:master Nov 25, 2020
7 checks passed
@RunDevelopment RunDevelopment deleted the markdown-front-matter branch Nov 25, 2020
andrewiggins added a commit to andrewiggins/open-ui that referenced this issue Nov 30, 2020
* Ensure we have the latest prismjs and prism-react-renderer
* Shorten example description to make it easier to read and reduce screen sizes where overflow is required
* Fix JSON5 syntax highlighting
* Specify markdown sytnax highlighting for front matter samples. Markdown front matter highlighting will come to PrismJS in the next version (PrismJS/prism#2634)
* Trim whitespace and newlines from the end of code samples
gregwhitworth pushed a commit to openui/open-ui that referenced this issue Dec 3, 2020
* Add clean and serve scripts

* Improve code highlighting on contribute

* Ensure we have the latest prismjs and prism-react-renderer
* Shorten example description to make it easier to read and reduce screen sizes where overflow is required
* Fix JSON5 syntax highlighting
* Specify markdown sytnax highlighting for front matter samples. Markdown front matter highlighting will come to PrismJS in the next version (PrismJS/prism#2634)
* Trim whitespace and newlines from the end of code samples

* Add scrollbars to code examples

Enables the Contribute page to shrink according to screen size

* Allow code examples to be scrollable by keyboard users

* Disable eslint warning for tabIndex on pre element
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant