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

use Prism #15

Merged
merged 3 commits into from
Feb 20, 2018
Merged

use Prism #15

merged 3 commits into from
Feb 20, 2018

Conversation

christopherjbaker
Copy link
Contributor

@christopherjbaker christopherjbaker commented Feb 2, 2018

This uses prism to provide synatx highlighting. I went with the coy theme, as it has blues like the rest of the site.

In additon to the base functionality, I added 3 plugins:

command-line is automatically activated for all shell language blocks

This is the examples run by the tests:
image

And here is the top section of can-define:
image

@justinbmeyer
Copy link
Member

@christopherjbaker can you provide an example of how it looks in-page?

@christopherjbaker
Copy link
Contributor Author

christopherjbaker commented Feb 14, 2018

I added a screenshot. There are a couple competing styles that are removed in canjs/bit-docs-html-canjs#437

@christopherjbaker christopherjbaker merged commit a3000f2 into master Feb 20, 2018
@christopherjbaker christopherjbaker deleted the 14-colors branch February 20, 2018 23:41
@christopherjbaker christopherjbaker changed the title colors use Prism Feb 21, 2018
@leoj3n
Copy link
Contributor

leoj3n commented Oct 24, 2018

@christopherjbaker Issue #21 has some optional suggestions related to this update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants