patat icon indicating copy to clipboard operation
patat copied to clipboard

Poor rendering of headers?

Open larsks opened this issue 4 years ago • 2 comments

I'm feeding patat the follow input:

# An example deck

## This is a test

This is my first slide.

Here is some information.

## This ought to be a slide title

The quick brown fox:

- Jumped over the lazy dog.
- Injured itself upon landing.
- This is unsafe workplace behavior.

While patat is obviously recognizing the headers, it's not rendering them very well: e.g., the rendered headers still include the ## markers. For example, the title slide renders like this:

Screenshot from 2019-11-26 10-13-05

And the first slide renders like this:

Screenshot from 2019-11-26 10-14-10

Is this expected behavior?

larsks avatar Nov 26 '19 15:11 larsks

Yes, this is expected, to stick somewhat close to markdown format (which is good if people seeing the presentation recognize it's a header IMO). I didn't want to draw a line below it because that takes up a whole line of screen real estate. Do you have other suggestions/preferences? I would be happy to make the title rendering more configurable but I'm not sure about changing the default.

jaspervdj avatar Nov 26 '19 16:11 jaspervdj

I agree re: not changing the default, but I would love to be able to drop the # markers from the headers and to use some sort of styling to indicate "header-ness".

If styling options included underlined/not underlined, that would be cool.

larsks avatar Nov 26 '19 19:11 larsks