An MkDocs plugin for www.lesliezhu.com blog.
Project description
mkdocs-minyilife-plugin
An MkDocs plugin for www.minyilife.com blog.
Installation
pip3 install mkdocs-minyilife-plugin
Or
pip3 install https://github.com/lesliezhu/mkdocs-minyilife-plugin/archive/refs/heads/master.zip
mkdocs-ruby-plugin
An MkDocs plugin to add pinyin/furigana to Chinese/Japanese Kanji text.
It's based on https://github.com/ijaureguialzo/mkdocs-furigana-plugin, but replace CSS style with HTML <ruby>
tag.
Write kanji like this:
我(wo)是一只{猫(mao)}。猫(ねこ).
It will look like:
我wo是一只猫mao。猫ねこ.
Or like this when there is more than one character:
我(wo)是{一只猫(yizhimao)}。{綺麗猫(きれいねこ)}.
It will look like:
我wo是一只猫yizhimao。綺麗猫きれいねこ.
To enable the plugin in the mkdocs.yml
file:
plugins:
- minyilife-ruby:
global_enable: true
title_enable: true
outer_begin: '{'
outer_end: '}'
inter_begin: '('
inter_end: ')
If ruby.global_enable = false
, you can enable this plugin in single page:
---
ruby: true
---
If ruby.global_enable = true
, you can disable this plugin in single page:
---
ruby: false
---
mkdocs-exclude-plugin
An MkDocs plugin to exclude some markdown files.
It's based on https://github.com/apenwarr/mkdocs-exclude
To enable the plugin in the mkdocs.yml
file:
plugins:
- minyilife-exclude:
globs:
- test1.md
regex:
- 'test[3-9].md$'
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 Distributions
Built Distribution
Hashes for mkdocs_minyilife_plugin-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe9055b4b741662f9ca4a5420f851492497a3260c7d755c4fe8280e9cb234021 |
|
MD5 | 99de1aa0e687aea9780b900c2ff04e6e |
|
BLAKE2b-256 | 2da98413a7f3e683d5adfe2d93beba37ecbb98694d977532122ebcfc18fa51c3 |