Fossil Forum

anonymous 3 weeks, 2 days ago

Post: Markup glitch in timeline docs

On https://fossil-scm.org/home/help/timeline in section "Options:" for -F it appears that

%%
%H

are missing <tt>...</tt> tags.

Yours Sincerely, Anonymous Markup Proofreader

stephan 3 weeks, 2 days ago

are missing <tt>...</tt> tags.

Yeah, that's weird, but it turns out it's as design. From the doc generator:

** Append text to pOut, adding formatting markup.  Terms that
** have all lower-case letters are within <tt>..</tt>.  Terms
** that have all upper-case letters are within <i>..</i>.
drh 3 weeks, 2 days ago

I have updated the design of the doc generator by adding an additional sentence: "Except, if the entire string begins with % then put the whole thing inside of \<tt>..\</tt>." Unless I overlooked something, this only effects the help for the timeline command, which looks better now.

You can see all help text rendered as HTML all at once on the /test-all-help page. Please check my work.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button