Skip to content

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

@guillemcordoba

Description

@guillemcordoba

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!`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions