Skip to content

Simplify README rendering using a new highlight-syntax modifier #2069

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

Merged
merged 4 commits into from
Dec 28, 2019

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Dec 26, 2019

This PR implements a new highlight-syntax modifier based on https://github.com/ember-modifier/ember-modifier and the existing ember-prism addon. That modifier is then used to apply the Prism.js syntax highlighting to all code blocks in the README, making the CrateReadme component obsolete.

r? @locks

@locks
Copy link
Contributor

locks commented Dec 28, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Dec 28, 2019

📌 Commit 1db71ad has been approved by locks

bors added a commit that referenced this pull request Dec 28, 2019
Simplify README rendering using a new `highlight-syntax` modifier

This PR implements a new `highlight-syntax` modifier based on https://github.com/ember-modifier/ember-modifier and the existing `ember-prism` addon. That modifier is then used to apply the Prism.js syntax highlighting to all code blocks in the README, making the `CrateReadme` component obsolete.

r? @locks
@bors
Copy link
Contributor

bors commented Dec 28, 2019

⌛ Testing commit 1db71ad with merge 2c99e22...

@bors
Copy link
Contributor

bors commented Dec 28, 2019

☀️ Test successful - checks-travis
Approved by: locks
Pushing 2c99e22 to master...

@bors bors merged commit 1db71ad into rust-lang:master Dec 28, 2019
@Turbo87 Turbo87 deleted the prism-modifier branch January 3, 2020 14:10
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.

4 participants