Skip to main content

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:
      log: false
      globs:
          - test1.md
      regex:
          - 'test[3-9].md$'
          - '.md#$'
          - '.md~$'
          - '\.#.*.md'

Need to use this plugin as the top priority plugin, because it needs to exclude the files at first.

If the 'log' enabled, it'll print the excluded files one by one.

Metadata

Release files for mkdocs-minyilife-plugin 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for mkdocs-minyilife-plugin 0.0.6
File Interpreter ABI Platform
mkdocs_minyilife_plugin-0.0.6-py3-none-any.whl Python 3 none any Details

Release files / mkdocs_minyilife_plugin-0.0.6-py3-none-any.whl

Download URL mkdocs_minyilife_plugin-0.0.6-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be9b772b072589a7401fd270c0a034b36fb8580bc333f5a6741879f1744c9a4a
BLAKE2b-256 checksum
How to use checksums
f2cdf3f9d35d0439df19cec173f410ca62c1c25ee91bca5764748d3cf9415bc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/6.0.0 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page