kramdown-rfc icon indicating copy to clipboard operation
kramdown-rfc copied to clipboard

Allow (swallow) leading blank space

Open cabo opened this issue 1 year ago • 0 comments

The first line of a kramdown-rfc input file decides whether kramdown-rfc should work on a snippet only, whether we are looking at a complete kramdown-rfc document ("---" in first line, followed by YAML Metadata), or or whether we actually are looking at mmark input ("%%%" in first line).

Be more robust against this being obscured by leading blank space.

(Solution is not completely trivial because of line number management for error messages.)

cabo avatar Nov 28 '24 16:11 cabo