Skip to main content

MkDocs Img2Fig Plugin

This MkDocs plugin converts markdown encoded images like

![An image caption](\assets\images\my-image.png)

into

<figure class="figure-image">
  <img src="\assets\images\my-image.png" alt="An image caption">
  <figcaption>An image caption</figcaption>
</figure>

Requirements

This package requires Python >=3.5 and MkDocs version 1.0 or higher.

Installation

Install the package with pip:

pip install mkdocs-img2fig-plugin

Enable the plugin in your mkdocs.yml:

plugins:
    - search
    - img2fig

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

Metadata

Release files for mkdocs-img2fig-plugin-with-icons 0.0.2

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-img2fig-plugin-with-icons 0.0.2
File Size Uploaded
mkdocs-img2fig-plugin-with-icons-0.0.2.tar.gz 3.0 kB Details

Release files / mkdocs-img2fig-plugin-with-icons-0.0.2.tar.gz

Download URL mkdocs-img2fig-plugin-with-icons-0.0.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
232724efc80b4322e8be29c31af4182cd4f73e1ced380ce581f2a5bef6b8a2d6
BLAKE2b-256 checksum
How to use checksums
97f19dec27d1131dd548e4f6a8fb1362a85d10d4702ae0521f5c8d1a390c4403
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.28.1 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

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