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

Support Prism in the blog template example #2622

Merged
merged 1 commit into from
Mar 10, 2022

Commits on Feb 19, 2022

  1. Support Prism in the blog template example

    The Prism syntax highlighter failed to render properly when Astro was
    initialized with the blog template. This was because the Prism CSS
    conflicted with the default blog template.
    
    This change-set removes the Viewport Width from the `pre` transform as
    this property conflicted with the prism CSS. This change-set also
    includes Prism in the Blog Post layout and adds a small javascript
    example to the sample post.
    irbull committed Feb 19, 2022
    Configuration menu
    Copy the full SHA
    a41aa22 View commit details
    Browse the repository at this point in the history