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

Fix: markdown JSX expression inconsistencies #3152

Merged
merged 4 commits into from
Apr 19, 2022

Conversation

bholmesdev
Copy link
Contributor

@bholmesdev bholmesdev commented Apr 19, 2022

Changes

Testing

  • added JSX expressions test to packages/astro/test/astro-markdown.test.js

Docs

N/A

@changeset-bot
Copy link

changeset-bot bot commented Apr 19, 2022

🦋 Changeset detected

Latest commit: a1a471d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
astro Patch
@astrojs/markdown-remark Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the feat: markdown Related to Markdown (scope) label Apr 19, 2022
@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) test labels Apr 19, 2022
Copy link
Contributor

@matthewp matthewp left a comment

Choose a reason for hiding this comment

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

lgtm, nice tests!

Copy link
Contributor

@tony-sull tony-sull left a comment

Choose a reason for hiding this comment

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

Nice! Funny that the fix for expressions in markdown is to remove the markdown expressions plugin 😁

@bholmesdev bholmesdev merged commit 9ba1f4f into main Apr 19, 2022
@bholmesdev bholmesdev deleted the fix/2886/markdown-var-inconsistencies branch April 19, 2022 20:37
@github-actions github-actions bot mentioned this pull request Apr 19, 2022
SiriousHunter pushed a commit to SiriousHunter/astro that referenced this pull request Feb 3, 2023
* fix: remove micromark-extension-mdx-expression to unbreak JSX expressions

* chore: changeset

* deps: update lockfile

* tests: jsx expressions in markdown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: markdown Related to Markdown (scope) pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 BUG: Frontmatter variables in markdown are very inconsistent on whether they actually work or not
3 participants