~raphm

~raphm/gemthread

Last active 2 months ago
View more

Recent activity

Re: Seeking feedback for kiln 0.2.0 2 months ago

From Raph M. to ~adnano/kiln-discuss

On Sat May 8, 2021 at 12:23 PM PDT, Adnan Maolood wrote:
> I went ahead and adopted your approach. We'll see how it plays out.

It seems to work very well. Thank you, Adnan!

Raph

Re: Seeking feedback for kiln 0.2.0 2 months ago

From Raph M. to ~adnano/kiln-discuss

On Fri May 7, 2021 at 11:32 AM PDT, Adnan Maolood wrote:
> On Fri May 7, 2021 at 12:24 PM EDT, Raph M. wrote:
>
> > The correct heuristic seems to be that the _first_ blank line should be
> > ignored by the `gmnitohtml` translator. [snip] 
>
> This is an interesting idea that I hadn't thought of. I may end up
> adopting this approach if I don't get rid of <br> tags completely.

It would be a relatively simple change, I think. If you add a `multibr`
bool field to the `HTMLWriter` struct, it seems like all you'd need
after that would something along these lines:

```

Re: Seeking feedback for kiln 0.2.0 2 months ago

From Raph M. to ~adnano/kiln-discuss

Hi, Adnan!

Thank you for making Kiln! 

I found what I believe may be an issue. It's not with kiln, but instead
is with the gmnitohtml utility that kiln can use to translate .gmi files
to HTML.

# Issue

When converting a `text/gemini` document to HTML using `gmnitohtml`, the
resulting HTML document contains unnecessary `<br>` tags that result in
the document being displayed with too much whitespace between lines.