FastComments.com
Here you can edit and run the code snippet from our documentation.
Example Code Snippet "Collab Chat s tamnim načinom"
<!DOCTYPE html> <html> <head> <title>My Article with Collab Chat - Dark Mode</title> <style> body { background-color: #1a1a1a !important; color: #e0e0e0 !important; font-family: system-ui, -apple-system, sans-serif; padding: 20px; margin: 0; } #article-content { max-width: 800px; margin: 0 auto; background-color: #2d2d2d; padding: 20px; border-radius: 8px; } h1 { color: #ffffff !important; } p { color: #e0e0e0 !important; line-height: 1.6; } .fastcomments-collab-chat-top-bar { background-color: #2d2d2d !important; color: #e0e0e0 !important; border-bottom: 1px solid #444 !important; } </style> </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> <script src="https://cdn.fastcomments.com/js/embed-collab-chat.min.js"></script> <script> FastCommentsCollabChat(document.getElementById('article-content'), { tenantId: 'demo', hasDarkBackground: true }); </script> </body> </html>
Result