-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Feature Request]: Docs site to support Typescript live TSX #424
Comments
Digging into this I found that Docusuarus provides a react-live@4.0.0 supports Typescript but Docusaurus' live-codeblocks is on react-live@2.3.3 (package.json) 😞 A Docusarus maintiner mentions here that live codeblocks don't receive much usage in his opinion, which would explain the outdated dependencies. |
I attempted a quick PR to Docusaurus here updating the dependency, but the builds failed in a way that wasn't clear how to proceed. I saw some folks in the Discord also struggling to get through webpack and other errors when upgrading react-live facebook/docusaurus#9145 ![]() ![]() |
I have created an issue in Docusaurus' feedback board https://docusaurus.io/feature-requests/p/typescript-live-code-blocks |
Description
Support live TSX in addition to live JSX to enable better documentation of components, e.g. DataTable, where Typescript is pivotal in the component API
https://docusaurus.io/docs/markdown-features/code-blocks#interactive-code-editor
Examples
Code of Conduct
The text was updated successfully, but these errors were encountered: