Skip to main content

mkdocs-plugin-inline-svg-utf8

Extend the plugin from craig0990 to read UTF-8 encoded files

Reads SVG images referenced from Markdown and replaces them with the SVG file content

Since the SVG is included as part of the plain-text input to MkDocs, this means the default MkDocs search supports searching SVG text, and hyperlinks are also fully functional.

Usage

Install the package with pip:

pip install mkdocs-plugin-inline-svg-utf8

Enable the plugin in your mkdocs.yml:

plugins:
    - search
    - inline-svg-utf8

Note: If you have no plugins entry in your config file yet, you'll likely also want to add the search plugin. MkDocs enables it by default if there is no plugins entry set, but now you have to enable it explicitly.

More information about plugins in the MkDocs documentation

Credits

Metadata

Release files for mkdocs-plugin-inline-svg-utf8 0.1.3

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

Source distribution (sdist)

Source distribution for mkdocs-plugin-inline-svg-utf8 0.1.3
File Size Uploaded
mkdocs_plugin_inline_svg_utf8-0.1.3.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mkdocs-plugin-inline-svg-utf8 0.1.3
File Interpreter ABI Platform
mkdocs_plugin_inline_svg_utf8-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 kB

Release files / mkdocs_plugin_inline_svg_utf8-0.1.3.tar.gz

Download URL mkdocs_plugin_inline_svg_utf8-0.1.3.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e90d4b9829382a7461634c4bfb99ddf9fc711efbd5d06e8c40bd363f213799e6
BLAKE2b-256 checksum
How to use checksums
eae3a431054183415938583f2508232a660a64b92242be09add1e7582eb0cf31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.5

Release files / mkdocs_plugin_inline_svg_utf8-0.1.3-py3-none-any.whl

Download URL mkdocs_plugin_inline_svg_utf8-0.1.3-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3c1070d50a96b2ecfe52f4310a481e8349eea0b7eea5f1036ae783c1e8b4963
BLAKE2b-256 checksum
How to use checksums
12b473ea7822f5f430ee370bfa9e4be9d979bde60555503646270ef1996053a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.5

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

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