Ko-fi button is a simple plugin that let's you add a Ko-fi button with markdown.
Project description
MkDocs Ko-fi Button Plugin
An mkdocs plugin that let's you easily add a Ko-fi buttons with markdown
The plugin looks for jinja style tags like {{ko-fi}}
and replaces it with the Ko-fi button. In addition to the already existing Ko-fi markdown support it's possible to configure the text and color.
Setup
Install the plugin using pip:
pip install mkdocs-ko-fi-button-plugin
Activate the plugin in mkdocs.yml
:
plugins:
- search
- ko-fi-button
Config
text
- The text on the Ko-fi button. Default: "Support Me on Ko-fi".color
- The color of the button in hex format. Default: #29abe0id
- Your Ko-fi ID. Can be found on your Ko-fi profile. Mandatory configuration.
For example:
plugins:
- search
- ko-fi-button:
text: 'My cool text'
color: '#547884'
id: 'my_id'
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for mkdocs-ko-fi-button-plugin-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0d31fa7b4d143492bc77e4fefbce26a51a725c90d80ec9de9b069e1f38e4487 |
|
MD5 | 047bf631b938654bd01b662034a959a1 |
|
BLAKE2b-256 | 212018e87f74cf91e476e8f78fad4b6f3c36f7331b0189064593b489cc3737f2 |
Close
Hashes for mkdocs_ko_fi_button_plugin-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f51721a9c2c93d338aff64acb8e707cf12b1bbe34df0fc9e90df8d31d4820da |
|
MD5 | dcca149e597059dd393564c1a1426436 |
|
BLAKE2b-256 | dd06697e427ecf4a321b6f06fb439c08db3d5163bed5212aea5daa1fa2e5a8b5 |