FastComments.com
Here you can edit and run the code snippet from our documentation.
Example Code Snippet "基本 Collab Chat 實作"
<!DOCTYPE html> <html> <head> <title>My Article with Collab Chat</title> </head> <body> <!-- 您的內容容器 --> <div id="article-content" style="min-height: 500px;"> <h1>My Article Title</h1> <p>This is a paragraph that users can annotate. Simply highlight any text to start a discussion!</p> <p>You can have multiple paragraphs, and users can highlight text across any of them.</p> </div> <!-- 載入 Collab Chat 腳本 --> <script src="https://cdn.fastcomments.com/js/embed-collab-chat.min.js"></script> <!-- 初始化 Collab Chat --> <script> FastCommentsCollabChat(document.getElementById('article-content'), { tenantId: 'demo' }); </script> </body> </html>
Result