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

docs: fix gif not loading in production vercel app #312

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

JDMathew
Copy link
Collaborator

Description

This PR fixes the issue with gif's not working in production

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

Checklist: (Feel free to delete this section upon completion)

  • I have included a changeset if this change will require a version change to one of the packages.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have run all builds, tests, and linting and all checks pass
  • I have added tests that prove my fix is effective or that my feature works
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@JDMathew JDMathew self-assigned this Jan 24, 2025
Copy link

vercel bot commented Jan 24, 2025

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

Name Status Preview Comments Updated (UTC)
react-native-ama ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2025 8:33am

# Text

**Guideline**: [Text](/guidelines/text)

<img src={Text} className="zoom-me" />
<img src={require('@site/static/gif/text.gif').default} width="300" />
Copy link

@carbonrobot carbonrobot Jan 24, 2025

Choose a reason for hiding this comment

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

I think you need to be using an mdx file in order to JSX syntax, since markdown only supports markdown syntax images.

Options

  1. Use markdown image syntax
![Guideline!](/assets/gif/text.gif "Guideline")
  1. Or Change the file to an MDX file to enable JSX syntax

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.

2 participants