ai-component-generator icon indicating copy to clipboard operation
ai-component-generator copied to clipboard

request: preview code below

Open tennox opened this issue 1 year ago • 1 comments

Would be great to be able to preview the code below the component and not have to copy and paste it into an editor.

tennox avatar Mar 10 '23 13:03 tennox

Hi there, I fully agree that it would be great to have a more convenient way of displaying code blocks . One solution that I would suggest is to use the react-code-blocks library. With this library, you can easily add code snippets to your Markdown files, and they will be displayed in a more user-friendly way. To make it even more visually appealing, you can also add the output of that code block.

image

I think this would be a great addition , and it would make it easier for developers to copy past their code . Let me know what you think!

umairabbasDev avatar Mar 16 '23 12:03 umairabbasDev