5 ms·
Canvas lets you interact with and edit code/documents more fluidly. I used it to transform my HTML blog into TypeScript in no time! Super helpful for coding and
by mergisi 2y ago
Canvas lets you interact with and edit code/documents more fluidly. I used it to transform my HTML blog into TypeScript in no time! Super helpful for coding and experimenting. https://x.com/mustafaergisi/status/1841946224682774536 https://x.com/mustafaergisi/status/1841946224682774536
- kristianp 2y agoHow do you go from html to typescript?
- zamadatix 2y agoI think they mean at the end of the clip they drag the slider from HTML to Typescript and it puts all of the blog data into structured Typescript data then writes a function which will generate an HTML page from that. The resulting blog output will still eventually be HTML, it's just whether the entries are made as data segments automatically stitched together or entered via raw HTML formatting.
- mergisi 2y agoI used OpenAI Canvas to help with the conversion. Essentially, I took the static HTML/CSS and wrote TypeScript to dynamically render blog posts.