Skip to main content

An image renderer that uses ueberzug

Project description

lookatme.contrib.image_ueberzug

This is a lookatme extension that uses ueberzug and urwid-ueberzogen to provide image rendering support. This works on linux only (or wherever ueberzug functions).

After successfully installing, you should see something like this:

example

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lookatme.contrib.image_ueberzug-1.1.0.tar.gz (3.6 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page