Skip to content

Conversation

@juba
Copy link
Contributor

@juba juba commented Jul 23, 2024

I spent some time trying to understand why the simpler JSX example wasn't working in my project. It finally turned out that I was putting the display(<Greeting subject="JSX" />) in a js block instead of a jsx one.

I saw after that jsx is indicated in the right margin of the code block in the documentation, but I didn't notice at first. As I may not be the only one in this case, this PR explicitly shows the jsx fenced code block around the first JSX display().

Many thanks for all your work on Observable framework.

@mbostock mbostock enabled auto-merge (squash) July 24, 2024 00:36
@mbostock mbostock merged commit 260f8f1 into observablehq:main Jul 24, 2024
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