Commit Briefs
add hide-pre-context and hide-pre-blocks
* hide-pre-context: if nonzero hide the start and end line of a pre block (i.e. ```). Defaults to zero. * add: hide-pre-blocks: if nonzero hide by default the body of a pre block; push-button can be used to toggle visibility per-block. Defaults to zero.
fix the tab title heuristic
the *last* level 2 or 3 heading would be used as tab title instead of the first one.
fix various warnings, no functional changes
now that we have a bounch of -Wxxx flags during compilation, let's fix everything.
[gemtext] improve parse_link
* add a mising `&& isspace(buf[0])' that would make the parser skip the link label * swap alt and line: line is the text, alt the URL * text is always defined, at worst is a copy of URL
[gemtext] fix append and set_buf
it wouldn't resume parsing well without these
update the length in set_buf
this caused a bug with long lines