Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

878 B
Raw Blame
<html>
<head>
    <style>
        #emojiGrid {
            display: grid;
            grid-template-columns: repeat(auto-fill, 360px);
            grid-gap: 8px;
        }

        .emoji__item {
            display: flex;
            align-items: center;
        }

        .emoji__item img {
            height: 1em;
            width: 1em;
        }
    </style>
    <script src="../../stage/protyle/js/lute/lute.min.js"></script>
</head>
<body>
<h2>SiYuan</h2>
<div id="emojiGrid"></div>
<script>
    const emoji = Lute.New().GetEmojis()
    let emojiHTML = ''
    Object.keys(emoji).forEach((key) => {
        const value = emoji[key].indexOf('http') > -1 ? `<img src="${emoji[key]}"/>` : emoji[key]
        emojiHTML += `<div class="emoji__item">${value}&nbsp;:${key}:</div>`
    })
    document.getElementById('emojiGrid').innerHTML = emojiHTML
</script>
</body>
</html>