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

MDX: Unable to write story names starting with a number #8467

Closed
shilman opened this issue Oct 18, 2019 · 2 comments
Closed

MDX: Unable to write story names starting with a number #8467

shilman opened this issue Oct 18, 2019 · 2 comments
Milestone

Comments

@shilman
Copy link
Member

shilman commented Oct 18, 2019

Example:

  <Story name="1 month visible">
    <Button onClick={action('clicked')}>hello world</Button>
  </Story>

Error:

SyntaxError: /Users/shilman/projects/storybookjs/storybook/examples/official-storybook/stories/addon-docs/addon-docs.stories.mdx: Identifier directly after number (135:14)
@shilman
Copy link
Member Author

shilman commented Oct 19, 2019

Jeepers creepers!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.3.0-alpha.23 containing PR #8469 that references this issue. Upgrade today to try it out!

You can find this prerelease on the @next NPM tag.

Closing this issue. Please re-open if you think there's still more to do.

@shilman shilman closed this as completed Oct 19, 2019
@shilman
Copy link
Member Author

shilman commented Oct 22, 2019

ZOMG!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.2.5 containing PR #8469 that references this issue. Upgrade today to try it out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant