pUpTo3Spaces

Returns a Parser that consumes 0–3 leading space characters (' '), succeeding with the list of matched spaces. Always succeeds.

This is used in nearly every block-level parser in the CommonMark spec to allow optional indentation before block markers.

Return

a Parser that always succeeds with 0, 1, 2, or 3 spaces.

See also