cfenollosa / bashblog

A single Bash script to create blogs. Download, run, write, done!
1.66k stars 228 forks source link

Bug? <hr> and <li> tags cause text below to lose margin/formatting #174

Closed jessienab closed 1 year ago

jessienab commented 1 year ago

Perhaps I'm just missing something or there's an issue with my bb.

When using <hr> html tags in a post, or <li> items, inside the <p> area, as a means of splitting the paragraph into sections for cleaner reading, the text below the extra formatting area loses it's margin/centering.

See the following rendered graphical example: 1

Any text below the <hr> tags loses the margin spacing, and I just cannot understand why, after reading through the HTML and CSS in bb.sh source. I added a width for <hr> to the blog.css area, simply to check if perhaps the ling going full sized caused this, but that did not help.

Source files: title-on-this-line.html blog.css

I have noticed this project is dormant, so I'm posting this in hopes someone can point out the flaw here. Thanks!

jessienab commented 1 year ago

The cause of the issue appears to be the fact that a desired Markdown processor was missing.

I wrote up on my blog here but the tldr is on Arch, discount was the needed package, or using Markdown.pl from daringfireball.net