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

Added code block support to the blog #494

Merged
merged 8 commits into from
Jun 8, 2022
Merged

Added code block support to the blog #494

merged 8 commits into from
Jun 8, 2022

Conversation

jaasonw
Copy link
Contributor

@jaasonw jaasonw commented Jun 6, 2022

Currently looks like this
image
image

Would like feedback on
a. What color we should use for the background (they're copy pasted from github along with the syntax highlighting)
b. How to make syntax-highlight.css less repetitive as scss does not seem to work??

I also updated the test cases and test data to reflect these changes

jaasonw added 3 commits June 6, 2022 03:00
    a. allow child components to modify the font family
    b. contain --acm-canvas for code block background (actual color can be updated later)
@vercel
Copy link

vercel bot commented Jun 6, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
acm-csuf-site ✅ Ready (Inspect) Visit Preview Jun 7, 2022 at 2:33AM (UTC)

@vercel vercel bot temporarily deployed to Preview June 6, 2022 10:42 Inactive
@vercel vercel bot temporarily deployed to Preview June 6, 2022 10:44 Inactive
@jaasonw jaasonw linked an issue Jun 6, 2022 that may be closed by this pull request
@vercel vercel bot temporarily deployed to Preview June 6, 2022 11:05 Inactive
@jaasonw jaasonw changed the title Added initial code block support to the blog Added code block support to the blog Jun 6, 2022
@jaasonw jaasonw requested a review from EthanThatOneKid June 6, 2022 11:15
@vercel vercel bot temporarily deployed to Preview June 6, 2022 11:15 Inactive
@vercel vercel bot temporarily deployed to Preview June 7, 2022 02:30 Inactive
@vercel vercel bot temporarily deployed to Preview June 7, 2022 02:33 Inactive
@karnikaavelumani
Copy link
Collaborator

cool.

Copy link
Collaborator

@karnikaavelumani karnikaavelumani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try hard

@jaasonw jaasonw merged commit d0c32ca into main Jun 8, 2022
@jaasonw jaasonw deleted the code-blocks branch June 8, 2022 05:05
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.

add code block support to blog
2 participants