-
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Is the feature request related to a problem
The default syntax of:
<!-- snippet: xyz -->
Won't work in JSX components. Instead it has to look something like this:
Describe the solution
- Markdown snippets would have to discover this new comment style
{/* snippet: xyz */}in the place it should be included. - Additionally, it would have to:
- Put
{`at the start and`}at the end of the snippet and consider these the new code fences (instead of```) - Escape empty lines with
\n
- Put
Describe alternatives considered
The alternative is not to use markdown snippets.
Additional context
No additional context.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
