Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 651 Bytes

File metadata and controls

17 lines (9 loc) · 651 Bytes

AI提示词示例

转换已有包含tailwindcss类的html代码

提示词:【这里粘贴包含tailwindcss类的html代码】把这段html代码转成plotly dash代码,不需要额外发挥,只需要将对应的html元素使用dash中对应的html组件显示即可

根据需求生成全新代码

以生成小红书风格博客卡片为例,demo7.py

首先使用tailwindcss生成html代码

提示词:用tailwindcss实现小红书风格的博客卡片

再转换生成的html代码为dash代码

提示词:将生成的这段html代码转换成plotly dash代码,不需要额外发挥,转换即可,使用html组件