Metadata-Version: 2.1
Name: lookatme.contrib.image-ueberzug
Version: 1.1.0
Summary: An image renderer that uses ueberzug
Home-page: https://github.com/d0c-s4vage/lookatme.contrib.image_ueberzug
Author: James Johnson
Author-email: d0c.s4vage@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Environment :: Plugins
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Multimedia :: Graphics :: Presentation
Classifier: Topic :: Software Development :: Documentation
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: lookatme (<3.0.0,>=2.0.0)
Requires-Dist: urwid-ueberzogen (<1.0.0,>=0.0.4)
Requires-Dist: ueberzug (<19,>=18)

# lookatme.contrib.image_ueberzug

This is a [lookatme](https://github.com/d0c-s4vage/lookatme) extension that
uses [ueberzug](https://github.com/seebye/ueberzug) and
[urwid-ueberzogen](https://github.com/seebye/urwid-ueberzogen/tree/master/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](example/running.gif)

## Installation

```bash
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.

```txt
---
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)
```


