d0c-s4vage / lookatme

An interactive, terminal-based markdown presenter
https://lookatme.readthedocs.io/en/latest/
MIT License
2.1k stars 62 forks source link

HTML output needs better rendering #212

Closed d0c-s4vage closed 1 year ago

d0c-s4vage commented 1 year ago

Describe the bug

Currently the html output is a character-for-character exact match of what you would see rendered in the terminal (minus any font issues, like braille characters missing from the Deja Vu Sans Mono font - #211).

We need a better way to have a character-for-character version of what you would see in the terminal. A smarter approach to dealing with background colors, and containers, would make:

This type of rendering output would probably require us to do our own recursive rendering of urwid elements. Not impossible at all, but it's probably the best way to do it.

Additional context

Some other thoughts:

d0c-s4vage commented 1 year ago

# Slide 1

Content test `1hello`

# Slide 2

* a
* a
* a
* a
* a
* a
* a
* a
* a
* a
* a
* a
* a
* a
* a
* b
github-actions[bot] commented 1 year ago

The preview below was generated by the markdown in this comment:

markdown preview image