Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Image nodes

NodeDocstringsMarkdown extensions
[image MkImage](https://phil65.github.io/mknodes/mdbook/The nodes/Image nodes/mkimage/)Image including optional caption.
[image-off MkImageCompare](https://phil65.github.io/mknodes/mdbook/The nodes/Image nodes/mkimagecompare/)Node to show an Image comparison (using a slider).
[image-multiple MkImageSlideshow](https://phil65.github.io/mknodes/mdbook/The nodes/Image nodes/mkimageslideshow/)Node to show an Image slideshow (in autoplay mode).
[shieldsdotio MkBadge](https://phil65.github.io/mknodes/mdbook/The nodes/Image nodes/mkbadge/)Node for a locally-created badge (based on “anybadge”).

The node creates a badge svg, appends it to the virtual files, and
shows it as an image.
[image MkIcon](https://phil65.github.io/mknodes/mdbook/The nodes/Image nodes/mkicon/)Pyconify-based Icon.
[shieldsdotio MkMaterialBadge](https://phil65.github.io/mknodes/mdbook/The nodes/Image nodes/mkmaterialbadge/)Node for a CSS-based badge a la MkDocs-Material.
[file-image MkBinaryImage](https://phil65.github.io/mknodes/mdbook/The nodes/Image nodes/mkbinaryimage/)Image carrying the data by itself.

This node basically is a regular image link, but carries the image data by itself.
The data will get written to the “virtual” folder at the end of the process.
It can hold either str or bytes as data.
[square-medium MkCard](https://phil65.github.io/mknodes/mdbook/The nodes/Image nodes/mkcard/)A card node, displaying an image, a button-like label and a hover caption.

This node requires addtional CSS to work.
Page info
Code for this section

mknodes.manual.nodes_section._

@nav.route.nav("Image nodes")
def _(nav: mk.MkNav) -> None:
    page = nav.add_page(is_index=True, hide="toc")
    page += create_section_for_nodes(nav, IMAGE_NODES)
    page.created_by = create_section_for_nodes

Resources
Resources(css=[],
          markdown_extensions={'tables': {}},
          plugins=[],
          js=[],
          assets=[],
          packages=[])
Metadata
created:
  source_filename: /home/runner/work/mknodes/mknodes/src/mknodes/manual/nodes_section.py
  source_function: _
  source_line_no: 144
hide:
- toc
title: Image nodes