lookatme.contrib.image_ueberzug

An in-development lookatme extension that uses ueberzug and urwid_ueberzogen to add image rendering support

MIT License

Downloads
124
Stars
16
Committers
2

lookatme.contrib.image_ueberzug

This is a lookatme extension that uses ueberzug and urwid-ueberzogen to provide image rendering support. This works on linux with X11 only. This does not work with Wayland.

NOTE: This only works with X11 and does not work with Wayland.

After successfully installing, you should see something like this:

Installation

pip install lookatme.contrib.image_ueberzug

Usage

Use images! For now, only local images are supported. Remote image support will be added later.

Enable this plugin by adding it to the metadata in the head of the markdown file.

---
title: <title>
author: <author>
extensions:
  - image_ueberzug
---

Use the text of the image to indicate the height (number of rows) that the image should use when rendered. The example below will render path/to/image.png with a height of 7 rows:

![7](path/to/image.png)