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

feat(mdx-loader): preserve hash in image src; support GH themed images #6323

Merged
merged 2 commits into from
Jan 13, 2022

Conversation

Josh-Cena
Copy link
Collaborator

@Josh-Cena Josh-Cena commented Jan 13, 2022

Motivation

We need to pass the hash to the final output to support GH themed images. Also did some refactors to make the two remark plugins more aligned.

Apart from this, there's no significant behavior change.

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Wrote docs; integration tests

@Josh-Cena Josh-Cena added the pr: new feature This PR adds a new API or behavior. label Jan 13, 2022
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jan 13, 2022
@netlify
Copy link

netlify bot commented Jan 13, 2022

✔️ [V2]

🔨 Explore the source changes: b8044a1

🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/61df881fb964390007c84bef

😎 Browse the preview: https://deploy-preview-6323--docusaurus-2.netlify.app

@github-actions
Copy link

github-actions bot commented Jan 13, 2022

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟢 Performance 97
🟢 Accessibility 98
🟢 Best practices 100
🟢 SEO 100
🟢 PWA 95

Lighthouse ran on https://deploy-preview-6323--docusaurus-2.netlify.app/

@github-actions
Copy link

github-actions bot commented Jan 13, 2022

Size Change: +108 B (0%)

Total Size: 676 kB

Filename Size Change
website/build/assets/css/styles.********.css 103 kB +108 B (0%)
ℹ️ View Unchanged
Filename Size
website/.docusaurus/globalData.json 41.6 kB
website/build/assets/js/main.********.js 502 kB
website/build/index.html 29.6 kB

compressed-size-action

@Josh-Cena Josh-Cena merged commit 217b626 into main Jan 13, 2022
@Josh-Cena Josh-Cena deleted the jc/gh-image branch January 13, 2022 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: new feature This PR adds a new API or behavior.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants