Sync custom emojis from external providers (Slack, etc.) into MkDocs Material
Project description
External Emojis for MkDocs
Sync custom emojis from Slack, Discord, and more into MkDocs Material
Use your organization's custom emojis directly in MkDocs with the familiar :emoji-name: syntax.
Features
- 🔄 Automatic Sync - Emojis sync during MkDocs build
- 🔌 Multiple Providers - Slack, Discord, multiple workspaces
- 🔧 Extensible - Easy to add new providers
- 💾 Smart Caching - TTL-based caching minimizes API calls
- 🎯 Filtering - Include/exclude emoji patterns
- 🖥️ CLI Tools - Manage emojis from the command line
- ♿ Accessible - Screen reader friendly with proper alt text
Quick Start
1. Install
uv add mkdocs-external-custom-emojis
# or: pip install mkdocs-external-custom-emojis
2. Configure
Create emoji-config.toml:
[[providers]]
type = "slack"
namespace = "slack"
token_env = "SLACK_TOKEN"
[[providers]]
type = "discord"
namespace = "discord"
token_env = "DISCORD_BOT_TOKEN"
tenant_id = "DISCORD_GUILD_ID"
[[providers]]
type = "discord"
namespace = "secret_discord"
token_env = "SECOND_DISCORD_BOT_TOKEN"
tenant_id = "SECOND_DISCORD_GUILD_ID"
Set your token:
export SLACK_TOKEN="xoxp-your-token-here"
export DISCORD_BOT_TOKEN="MTIz..."
export DISCORD_GUILD_ID="123456789012345678"
export SECOND_DISCORD_BOT_TOKEN="MTIz..."
export SECOND_DISCORD_GUILD_ID="987654321012345678"
Add to mkdocs.yml:
plugins:
- external-emojis
markdown_extensions:
- pymdownx.emoji
3. Use
# Welcome! :partyparrot:
We love cats: :catjam: :shipit:
mkdocs build # Emojis sync automatically!
CLI
mkdocs-emoji init # Create config
mkdocs-emoji sync # Download emojis
mkdocs-emoji list # List available emojis
mkdocs-emoji validate # Check configuration
Documentation
License
MIT License - see LICENSE for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mkdocs_external_custom_emojis-0.2.0.tar.gz.
File metadata
- Download URL: mkdocs_external_custom_emojis-0.2.0.tar.gz
- Upload date:
- Size: 93.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14c1387e2683182d92455c766a5df8deedb98f2a41f1cb744e6b6074a67710b6
|
|
| MD5 |
84f95188611b97c2976bc3e27e6358bc
|
|
| BLAKE2b-256 |
1395dd7ac9789fc50aa421bda0242ed35610738f6a0f969f5eb2532cf6ffb93a
|
Provenance
The following attestation bundles were made for mkdocs_external_custom_emojis-0.2.0.tar.gz:
Publisher:
publish.yml on julie-dujardin/mkdocs-external-custom-emojis
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mkdocs_external_custom_emojis-0.2.0.tar.gz -
Subject digest:
14c1387e2683182d92455c766a5df8deedb98f2a41f1cb744e6b6074a67710b6 - Sigstore transparency entry: 928364817
- Sigstore integration time:
-
Permalink:
julie-dujardin/mkdocs-external-custom-emojis@25eeb5af2324c85980a9fda12acf0ef3e86665c6 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/julie-dujardin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@25eeb5af2324c85980a9fda12acf0ef3e86665c6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mkdocs_external_custom_emojis-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mkdocs_external_custom_emojis-0.2.0-py3-none-any.whl
- Upload date:
- Size: 25.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffd6e48b11778283000643b39c8da6ca647012f82fb12d5d20dadaef8db9cff7
|
|
| MD5 |
aa29ca98fd4b855814c0ba420f0fe80c
|
|
| BLAKE2b-256 |
aeec68d39899f6a50ede5e81b145a998b43defb29d5bccefcee9c47abc04dbaa
|
Provenance
The following attestation bundles were made for mkdocs_external_custom_emojis-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on julie-dujardin/mkdocs-external-custom-emojis
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mkdocs_external_custom_emojis-0.2.0-py3-none-any.whl -
Subject digest:
ffd6e48b11778283000643b39c8da6ca647012f82fb12d5d20dadaef8db9cff7 - Sigstore transparency entry: 928364822
- Sigstore integration time:
-
Permalink:
julie-dujardin/mkdocs-external-custom-emojis@25eeb5af2324c85980a9fda12acf0ef3e86665c6 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/julie-dujardin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@25eeb5af2324c85980a9fda12acf0ef3e86665c6 -
Trigger Event:
push
-
Statement type: