Checks if we're at a closing fenced code fence. Uses fence_open so the closing line must start with the same whole match that opened the block
(e.g. " ```")
| chunk |
The text chunk |
| chunk_pos |
The position to check; may be advanced by 3 when indented content line (fence_open.length > 3 and line starts with " ") |
| fence_type |
The type of fence we're looking for (FENCED_CODE_QUOTE or FENCED_CODE_TILD) |
| is_end_of_chunks |
If true, end of stream indicator |
|
-1 if need more data, 0 if not a match, >0 byte length consumed (through newline) if match |