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

[bug] Js story doesn't render tick blocks with '${}' properly #431

Open
guillemcordoba opened this issue Sep 22, 2022 · 0 comments
Open

Comments

@guillemcordoba
Copy link

guillemcordoba commented Sep 22, 2022

This code in a page.rocket.md file:

```js story
import {html} from '@mdjs/mdjs/preview';
const hey = 'hey';

export const StoryPreview = () => html` Use ${hey} in Rocket! `;

Is rendered like this in the final html

`Use ${hey} in Rocket!`

I would expect for it to render like this:

`Use hey in Rocket!`
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

No branches or pull requests

1 participant