-
-
Save gufril15/3556c10fabe447eeaa8cc6e318c020dd to your computer and use it in GitHub Desktop.
Langkah Menambahkan Scripts dan Styles ChatGPT ke Blog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Tambahkan Stylesheet --> | |
<link rel="stylesheet" | |
href="https://cdn.jsdelivr.net/gh/elhakimyasya/Contoh-Kode@499c89b6039eef8c034b65c9d936e95c557f0503/dist/chat-gpt.css" | |
rel="preload" /> | |
<!-- Container untuk ChatGPT --> | |
<div class="elcreative-chatgpt"></div> | |
<!-- Sisipkan Script ChatGPT --> | |
<script | |
src="https://cdn.jsdelivr.net/gh/elhakimyasya/Contoh-Kode@499c89b6039eef8c034b65c9d936e95c557f0503/dist/chat-gpt.js"></script> | |
<!-- Inisialisasi dan Konfigurasi ChatGPT --> | |
<script> | |
bloggerChatGPT({ | |
elementContainer: '.elcreative-chatgpt', | |
config: { | |
apiKey: 'API_KEY_CHATGPT', | |
minCharacter: JUMLAH_KARAKTER_MINIMAL, | |
imageUser: 'URL_GAMBAR_USER', | |
imageBot: 'URL_GAMBAR_BOT', | |
}, | |
}); | |
</script> | |
</code> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment