Hi, first of all thanks so much for this project and the other Shiki packages! They are very useful for so many projects.
Sometimes it's useful to have both TSX and also common tagged template literals, currently only offered in the "TypeScript with Tags" language.
Motivating example (async React Server Component with sql tagged template literal):
async function Blog() {
const posts = await sql`
SELECT
*
FROM
posts
`;
return (
<ul>
{posts.map((post) => (
<li>{post.title}</li>
))}
</ul>
)
}
Alternatives considered
Or maybe it makes sense to:
- Always support tags in the TypeScript and TSX langs
- Remove the separate "TypeScript with Tags" lang
Hi, first of all thanks so much for this project and the other Shiki packages! They are very useful for so many projects.
Sometimes it's useful to have both TSX and also common tagged template literals, currently only offered in the "TypeScript with Tags" language.
Motivating example (async React Server Component with
sqltagged template literal):Alternatives considered
Or maybe it makes sense to: