check_fenced_newline


Description:

public bool check_fenced_newline (ref int chunk_pos, string chunk)

When in fenced code block and not at line start: collect code text up to next newline (or all remaining).

Parameters:

chunk_pos

Updated to position after consumed code text (at newline if found)

chunk

The current chunk

Returns:

true (flushed and need to return from add), false to continue loop