-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
In the rendered docs, a code block labelled with a language of tsx (or jsx for that matter) does not get any highlighting applied:
/**
```tsx
import { Context } from "@macromania/macromania";
import { P, Em } from "@macromania/macromania-html";
const ctx = new Context();
const someHtml = await ctx.evaluate(
<P clazz="neat">
This is a <Em>neat</Em> paragraph.
</P>
);
// Logs `"<p class="neat">This is a <em>neat</em> paragraph</p>"`.
console.log(someHtml);
```
*
* @module
*/
Yields:
Changing the language to ts gives highlighting (though it obviously does not handle the tsx syntax correctly):
(independently, that screenshot is running into #742)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels