VaibhavArora314 / StyleShare

A simple web based platform where users can easily create, explore, and share Tailwind CSS components and designs with fellow users.
https://style-share.vercel.app
MIT License
40 stars 68 forks source link

[Bug]: Unnecessary Text and Symbols in Code Output for HTML and JavaScript in Gemini #600

Closed MeetDOD closed 1 month ago

MeetDOD commented 1 month ago

Is there an existing issue for this?

Describe the bug

When attempting to customize the code or style in the "style share" section of a particular component within Gemini, the tool by default adds unnecessary text and symbols around the code blocks. This behavior affects both HTML and JavaScript code, making it inconvenient for users who need clean code for customization purposes.

The code is wrapped with unnecessary symbols, such as:

  1. For HTML code: html at the start and at the end.

  2. For JavaScript code: javascript at the start and at the end.

Expected behavior

  1. Because of the features is exposed like what kind of technology we are using in the style share
  2. Also it looks unprofessional and lead bad impression to the users using this AI feature.
  3. Everyone can see that the API used is the Gemini if they do some research and all.

Add ScreenShots

  1. For Html Code

image

image

  1. For Javascript Code

image

image

  1. Full Code

image

image

On which device are you experiencing this bug?

Android, iPhone, Linux, Chrome, Windows

Record

github-actions[bot] commented 1 month ago

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

github-actions[bot] commented 1 month ago

Hello @MeetDOD! Your issue #600 has been closed. Thank you for your contribution!