Repository navigation
Four small things noticed while 0.1.3 was going out, none of them about how a
document is drawn: the contents now read as the page does, a URL can be
watched, front matter comes out of every file, and a stuck tmux cannot hold
termmd at startup.
Fixed
--tocand the contents panel showed a heading as written --:rocket:,
$x^2$-- while the page showed a rocket andx². Both are expanded when
the page is drawn, so the terminal can opt out with--ascii, and the table
of contents was built from the parse tree instead. It now reads the way the
page does, under--asciitoo.--watchon a URL did nothing, silently. Nothing on the far side of a URL
announces a change, so termmd now fetches it again every five seconds and
reloads when the text differs.--front-matterover several files printed only the first file's. It now
prints each file's, introduced by a--- # nameline when there is more
than one, so the output is still one YAML stream.- termmd asked tmux what its client can draw with no limit on how long tmux
might take to answer, so a wedged server held termmd at startup rather than
leaving it on half blocks. The question is now given half a second, and
handing a copy totmux load-buffertwo.