Back to list
make: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
make[1]: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
make[2]: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
make[2]: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
[ 10%] Built target generate_entities
make[2]: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
make[2]: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
[ 15%] Built target commonmark_entities
make[2]: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
make[2]: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
[ 55%] Built target commonmarkcpp
make[2]: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
make[2]: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
make[2]: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
[ 60%] Generating API documentation with Doxygen
make[2]: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
[ 65%] Built target commonmarkcpp_Documentation
make[2]: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
make[2]: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
[ 75%] Built target md
make[2]: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
make[2]: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
[100%] Built target unittest
make[1]: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
make: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp'
../../BUILD/Debug/contrib/commonmarkcpp/tests/unittest --tmp-dir "../../BUILD/Debug/contrib/commonmarkcpp/tmp" --binary-dir "/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp" --dist-dir "/home/alexis/snapwebsites/snapcpp/BUILD/Debug/dist" --source-dir "/home/alexis/snapwebsites/snapcpp/contrib/commonmarkcpp" --progress ""
commonmarkcpp v1.0.0 [484161]:unittest: seed is 1753853583
source directory: "/home/alexis/snapwebsites/snapcpp/contrib/commonmarkcpp"
binary directory: "/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/commonmarkcpp"
dist directory: "/home/alexis/snapwebsites/snapcpp/BUILD/Debug/dist"
temporary directory: "../../BUILD/Debug/contrib/commonmarkcpp/tmp"
Randomness seeded to: 1627461599
SECTION: cm: invalid character (null)
SECTION: cm: test basic characters
SECTION: cm: character: print hello
SECTION: cm: character: digits
SECTION: cm: test "***" -> <hr/>
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="***", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f159420
it on entry: [0x5ca51f159420]
--- not HTML block? -- it position: 0 -- 0x5ca51f159420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="***", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0SECTION: cm: test "***" -> <hr /> (with a space)
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f159420
it on entry: [0x5ca51f159420]
--- not HTML block? -- it position: 0 -- 0x5ca51f159420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f350
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="***", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1SECTION: cm: test "***" -> <hr /> (space & no class)
, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f159420
it on entry: [0x5ca51f159420]
--- not HTML block? -- it position: 0 -- 0x5ca51f159420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f130
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="***", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0SECTION: cm: test "***\n" -> <hr/>
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f159420
it on entry: [0x5ca51f159420]
--- not HTML block? -- it position: 0 -- 0x5ca51f159420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ***", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: SECTION: cm: test " ***\r\n" -> <hr/>
0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
working block is a list? no and list_indent is 1 -- it position: 3
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15ef04
it on entry: [0x5ca51f15ef04]
--- not HTML block? -- it position: 3 -- 0x5ca51f15ef04
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 4 & 1 & no parent
+++ link new? 0x5ca51f15f350
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/4)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/4)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="---", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far SECTION: cm: test "---" -> <hr/>
0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f159420
it on entry: [0x5ca51f159420]
--- not HTML block? -- it position: 0 -- 0x5ca51f159420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f130
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ---", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
SECTION: cm: test " ---\n" -> <hr/>
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15eef8
it on entry: [0x5ca51f15eef8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15eef8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/3)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/3)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="---", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1SECTION: cm: test "---\r\n" -> <hr/>
-- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f159420
it on entry: [0x5ca51f159420]
--- not HTML block? -- it position: 0 -- 0x5ca51f159420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f350
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ___", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent SECTION: cm: test " ___" -> <hr/>
1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
working block is a list? no and list_indent is 1 -- it position: 1
>> parse for list [95]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 1
+++ not a list or blockquote? -- it position: 1
any containers (other than line)? -- it position: 1
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f15942c
it on entry: [0x5ca51f15942c]
--- not HTML block? -- it position: 1 -- 0x5ca51f15942c
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 2 & 1 & no parent
+++ link new? 0x5ca51f15f130
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_UNDERLINE, Count: 1)
- Block is followed by at least one empty line
+ BREAK_UNDERLINE (line/column: 1/2)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_UNDERLINE, Count: 1)
- Block is followed by at least one empty line
+ BREAK_UNDERLINE (line/column: 1/2)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="___ ", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent SECTION: cm: test "___ \t\n" -> <hr/>
1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [95]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_UNDERLINE, Count: 1)
- Block is followed by at least one empty line
+ BREAK_UNDERLINE (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_UNDERLINE, Count: 1)
- Block is followed by at least one empty line
+ BREAK_UNDERLINE (line/column: 1/1)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="_ _ _", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1SECTION: cm: test "_ _ _\r\n" -> <hr/>
indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [95]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f350
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_UNDERLINE, Count: 1)
- Block is followed by at least one empty line
+ BREAK_UNDERLINE (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_UNDERLINE, Count: 1)
- Block is followed by at least one empty line
+ BREAK_UNDERLINE (line/column: 1/1)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="# H1", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1SECTION: cm: test "#... ..." -> <hN/>
, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f159420
it on entry: [0x5ca51f159420]
--- not HTML block? -- it position: 0 -- 0x5ca51f159420
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f130
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "H1"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="## H2", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15f350
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 2)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H1"
- Number: 1
+ HEADER_OPEN (line/column: 2/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H2"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="### H3", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 3)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H1"
- Number: 1
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H2"
- Number: 2
+ HEADER_OPEN (line/column: 3/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H3"
- Number: 3
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="#### H4", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 4)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H1"
- Number: 1
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H2"
- Number: 2
+ HEADER_OPEN (line/column: 3/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H3"
- Number: 3
+ HEADER_OPEN (line/column: 4/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H4"
- Number: 4
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="##### H5", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f160110
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 5)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H1"
- Number: 1
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H2"
- Number: 2
+ HEADER_OPEN (line/column: 3/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H3"
- Number: 3
+ HEADER_OPEN (line/column: 4/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H4"
- Number: 4
+ HEADER_OPEN (line/column: 5/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H5"
- Number: 5
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="###### H6", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1605b0
it on entry: [0x5ca51f1605b0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1605b0
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f160780
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 6)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H1"
- Number: 1
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H2"
- Number: 2
+ HEADER_OPEN (line/column: 3/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H3"
- Number: 3
+ HEADER_OPEN (line/column: 4/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H4"
- Number: 4
+ HEADER_OPEN (line/column: 5/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H5"
- Number: 5
+ HEADER_OPEN (line/column: 6/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H6"
- Number: 6
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 6)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H1"
- Number: 1
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H2"
- Number: 2
+ HEADER_OPEN (line/column: 3/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H3"
- Number: 3
+ HEADER_OPEN (line/column: 4/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H4"
- Number: 4
+ HEADER_OPEN (line/column: 5/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H5"
- Number: 5
+ HEADER_OPEN (line/column: 6/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "H6"
- Number: 6
- * -------------------------------------------- TREE END ---
---- inline to parse: [H1]
---- inline to parse: [H2]
---- inline to parse: [H3]
---- inline to parse: [H4]
---- inline to parse: [H5]
---- inline to parse: [H6]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unittest is a Catch2 v3.8.0 host application.
Run with -? for options
-------------------------------------------------------------------------------
commonmark_atx_heading
cm: test "#... ..." -> <hN/>
-------------------------------------------------------------------------------
/home/alexis/snapwebsites/snapcpp/contrib/commonmarkcpp/tests/catch_commonmark.cpp:166
...............................................................................
/home/alexis/snapwebsites/snapcpp/contrib/commonmarkcpp/tests/catch_commonmark.cpp:172: FAILED:
CATCH_REQUIRE( md.process("# H1\n## H2\n### H3\n#### H4\n##### H5\n###### H6\n") == "<h1 class=\"cm-header-open\">H1</h1>" "<h2 class=\"cm-header-open\">H2</h2>" "<h3 class=\"cm-header-open\">H3</h3>" "<h4 class=\"cm-header-open\">H4</h4>" "<h5 class=\"cm-header-open\">H5</h5>" "<h6 class=\"cm-header-open\">H6</h6>" )
with expansion:
"<h1 class="cm-header-open" id="h1">H1</h1><h2 class="cm-header-open" id=
"h2">H2</h2><h3 class="cm-header-open" id="h3">H3</h3><h4 class="cm-header-
open" id="h4">H4</h4><h5 class="cm-header-open" id="h5">H5</h5><h6 class="cm-
header-open" id="h6">H6</h6>"
==
"<h1 class="cm-header-open">H1</h1><h2 class="cm-header-open">H2</h2><h3
class="cm-header-open">H3</h3><h4 class="cm-header-open">H4</h4><h5 class=
"cm-header-open">H5</h5><h6 class="cm-header-open">H6</h6>"
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="# H1 # # #", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
SECTION: cm: test "#... ... #..." -> <hN/>
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15fd30
it on entry: [0x5ca51f15fd30]
--- not HTML block? -- it position: 0 -- 0x5ca51f15fd30
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160110
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_ENCLOSED, Count: 1)
- Block is followed by at least one empty line
+ HEADER_ENCLOSED (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "H1 # #"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="## H2 # # #", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15fd30
it on entry: [0x5ca51f15fd30]
--- not HTML block? -- it position: 0 -- 0x5ca51f15fd30
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_ENCLOSED, Last: HEADER_ENCLOSED, Count: 2)
- Block is followed by at least one empty line
+ HEADER_ENCLOSED (line/column: 1/1)
- Next Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H1 # #"
- Number: 1
+ HEADER_ENCLOSED (line/column: 2/1)
- Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H2 # #"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="### H3 ### ", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15fd30
it on entry: [0x5ca51f15fd30]
--- not HTML block? -- it position: 0 -- 0x5ca51f15fd30
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f160780
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_ENCLOSED, Last: HEADER_ENCLOSED, Count: 3)
- Block is followed by at least one empty line
+ HEADER_ENCLOSED (line/column: 1/1)
- Next Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H1 # #"
- Number: 1
+ HEADER_ENCLOSED (line/column: 2/1)
- Next Sibling (HEADER_ENCLOSED), Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H2 # #"
- Number: 2
+ HEADER_ENCLOSED (line/column: 3/1)
- Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H3"
- Number: 3
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="#### H4 ########## #########", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f040
it on entry: [0x5ca51f15f040]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f040
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_ENCLOSED, Last: HEADER_ENCLOSED, Count: 4)
- Block is followed by at least one empty line
+ HEADER_ENCLOSED (line/column: 1/1)
- Next Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H1 # #"
- Number: 1
+ HEADER_ENCLOSED (line/column: 2/1)
- Next Sibling (HEADER_ENCLOSED), Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H2 # #"
- Number: 2
+ HEADER_ENCLOSED (line/column: 3/1)
- Next Sibling (HEADER_ENCLOSED), Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H3"
- Number: 3
+ HEADER_ENCLOSED (line/column: 4/1)
- Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H4 ##########"
- Number: 4
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="##### H5 ##", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f040
it on entry: [0x5ca51f15f040]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f040
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f1606a0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_ENCLOSED, Last: HEADER_ENCLOSED, Count: 5)
- Block is followed by at least one empty line
+ HEADER_ENCLOSED (line/column: 1/1)
- Next Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H1 # #"
- Number: 1
+ HEADER_ENCLOSED (line/column: 2/1)
- Next Sibling (HEADER_ENCLOSED), Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H2 # #"
- Number: 2
+ HEADER_ENCLOSED (line/column: 3/1)
- Next Sibling (HEADER_ENCLOSED), Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H3"
- Number: 3
+ HEADER_ENCLOSED (line/column: 4/1)
- Next Sibling (HEADER_ENCLOSED), Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H4 ##########"
- Number: 4
+ HEADER_ENCLOSED (line/column: 5/1)
- Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H5"
- Number: 5
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="###### H6 # ", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f040
it on entry: [0x5ca51f15f040]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f040
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_ENCLOSED, Last: HEADER_ENCLOSED, Count: 6)
- Block is followed by at least one empty line
+ HEADER_ENCLOSED (line/column: 1/1)
- Next Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H1 # #"
- Number: 1
+ HEADER_ENCLOSED (line/column: 2/1)
- Next Sibling (HEADER_ENCLOSED), Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H2 # #"
- Number: 2
+ HEADER_ENCLOSED (line/column: 3/1)
- Next Sibling (HEADER_ENCLOSED), Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H3"
- Number: 3
+ HEADER_ENCLOSED (line/column: 4/1)
- Next Sibling (HEADER_ENCLOSED), Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H4 ##########"
- Number: 4
+ HEADER_ENCLOSED (line/column: 5/1)
- Next Sibling (HEADER_ENCLOSED), Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H5"
- Number: 5
+ HEADER_ENCLOSED (line/column: 6/1)
- Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H6"
- Number: 6
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_ENCLOSED, Last: HEADER_ENCLOSED, Count: 6)
- Block is followed by at least one empty line
+ HEADER_ENCLOSED (line/column: 1/1)
- Next Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H1 # #"
- Number: 1
+ HEADER_ENCLOSED (line/column: 2/1)
- Next Sibling (HEADER_ENCLOSED), Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H2 # #"
- Number: 2
+ HEADER_ENCLOSED (line/column: 3/1)
- Next Sibling (HEADER_ENCLOSED), Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H3"
- Number: 3
+ HEADER_ENCLOSED (line/column: 4/1)
- Next Sibling (HEADER_ENCLOSED), Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H4 ##########"
- Number: 4
+ HEADER_ENCLOSED (line/column: 5/1)
- Next Sibling (HEADER_ENCLOSED), Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H5"
- Number: 5
+ HEADER_ENCLOSED (line/column: 6/1)
- Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "H6"
- Number: 6
- * -------------------------------------------- TREE END ---
---- inline to parse: [H1 # #]
---- inline to parse: [H2 # #]
---- inline to parse: [H3]
---- inline to parse: [H4 ##########]
---- inline to parse: [H5]
---- inline to parse: [H6]
-------------------------------------------------------------------------------
commonmark_atx_heading
cm: test "#... ... #..." -> <hN/>
-------------------------------------------------------------------------------
/home/alexis/snapwebsites/snapcpp/contrib/commonmarkcpp/tests/catch_commonmark.cpp:182
...............................................................................
/home/alexis/snapwebsites/snapcpp/contrib/commonmarkcpp/tests/catch_commonmark.cpp:188: FAILED:
CATCH_REQUIRE( md.process("# H1 # # #\n## H2 #\t#\t#\n### H3 ### \n" "#### H4 ########## #########\n##### H5 ##\n###### H6 # \t \t\n") == "<h1 class=\"cm-header-enclosed\">H1 # #</h1>" "<h2 class=\"cm-header-enclosed\">H2 #\t#</h2>" "<h3 class=\"cm-header-enclosed\">H3</h3>" "<h4 class=\"cm-header-enclosed\">H4 ##########</h4>" "<h5 class=\"cm-header-enclosed\">H5</h5>" "<h6 class=\"cm-header-enclosed\">H6</h6>" )
with expansion:
"<h1 class="cm-header-enclosed" id="h1">H1 # #</h1><h2 class="cm-header-
enclosed" id="h2">H2 # #</h2><h3 class="cm-header-enclosed" id="h3">H3</h3>
<h4 class="cm-header-enclosed" id="h4">H4 ##########</h4><h5 class="cm-
header-enclosed" id="h5">H5</h5><h6 class="cm-header-enclosed" id="h6">H6</
h6>"
==
"<h1 class="cm-header-enclosed">H1 # #</h1><h2 class="cm-header-enclosed">H2
# #</h2><h3 class="cm-header-enclosed">H3</h3><h4 class="cm-header-enclosed">
H4 ##########</h4><h5 class="cm-header-enclosed">H5</h5><h6 class="cm-header-
enclosed">H6</h6>"
SECTION: cm: run against commonmark test suite
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" foo baz bmarkdown #1: [⇥ foo⇥ baz⇥ ⇥ bim↵ ]
im", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 1) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 1
--- not empty? -- it position: 1
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f1606a0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "foo baz bim
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "foo baz bim
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" foo baz bim", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 |
+---> resulting html: [<pre><code>foo baz bim
</code></pre>
] matched!
markdown #2: [⎵ ⎵ ⇥ foo⇥ baz⇥ ⇥ bim↵ ]
indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 3) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "foo baz bim
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "foo baz bim
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" a a", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2 |
+---> resulting html: [<pre><code>foo baz bim
</code></pre>
] matched!
markdown #3: [⎵ ⎵ ⎵ ⎵ a⇥ a↵ ⎵ ⎵ ⎵ ⎵ ὐ⇥ a↵ ]
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "a a
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ὐ a", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [ὐ a
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "a a
ὐ a
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "a a
ὐ a
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" - foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1 |
+---> resulting html: [<pre><code>a a
ὐ a
</code></pre>
] matched!
markdown #4: [⎵ ⎵ -⎵ foo↵ ↵ ⇥ bar↵ ]
, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 5 indent 1 -- it position: 4
+++ gap so far 0 blanks, working column: 4, it column 5, list indent: 1 -- it position: 4
working block is a list? YES and list_indent is 1 -- it position: 4
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15ef10
it on entry: [0x5ca51f15ef10]
--- not HTML block? -- it position: 4 -- 0x5ca51f15ef10
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15ef10 -- 0x5ca51f15ef34
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 5 & 3 & no parent
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/3-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/3-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/3-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line=" bar", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 5 -- it position: 0
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 1
column: 5 indent 5 -- it position: 1
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 1
working block is a list? no and list_indent is 5 -- it position: 1
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 5 -- it position: 1
then compare 5 vs list_indent + 4 = 9 -- it position: 1
+++ this is a list item followed by this additional paragraph: 5 or 5 >= 5 blanks! (working column: 1 -- it position: 1)
+++ not a list or blockquote? -- it position: 1
any containers (other than line)? -- it position: 1
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f15eeec
it on entry: [0x5ca51f15eeec]
--- not HTML block? -- it position: 1 -- 0x5ca51f15eeec
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 1
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 1 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eeec -- 0x5ca51f15ef10
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 5)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/3-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/3-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15eef8
it on entry: [0x5ca51f15eef8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15eef8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eef8 -- 0x5ca51f15ef1c
link child
save working child
end paragraph handling
---- paragraph
|
+---> resulting html: [<ul>
<li>
<p>foo</p>
<p>bar</p>
</li>
</ul>
] matched!
markdown #5: [-⎵ foo↵ ↵ ⇥ ⇥ bar↵ ]
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line=" bar", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 3 -- it position: 0
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 3 -- it position: 1
column: 5 indent 3 -- it position: 1
+++ got a gap of 8 >= 4 blanks! (working column/end: 1/1, it column 9, list indent + 4: 7 -- it position: 2) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 7
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
+++ adding a CODE BLOCK here (indent: 7)
---- got indent of 7 vs column 9
---- got indented code block
+++ add child to list? (list sub-block: 7)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_DASH)
- Content: "foo"
+ CODE_BLOCK_INDENTED (line/column: 3/9)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: " bar
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_DASH)
- Content: "foo"
+ CODE_BLOCK_INDENTED (line/column: 3/9)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: " bar
"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 5 indent 1 -- it position: |
+---> resulting html: [<ul>
<li>
<p>foo</p>
<pre><code> bar
</code></pre>
</li>
</ul>
] matched!
markdown #6: [>⇥ ⇥ foo↵ ]
2
+++ got a gap of 6 >= 4 blanks! (working column/end: 1/3, it column 9, list indent + 4: 5 -- it position: 3) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
+++ adding a CODE BLOCK here (indent: 0)
---- blockquote (3) + code block (9)
---- got indent of 7 vs column 9
---- got indented code block
+++ add child to child? (list sub-block: 0)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 1/9)
- Parent (BLOCKQUOTE)
- Content: " foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 1/9)
- Parent (BLOCKQUOTE)
- Content: " foo
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
|
+---> resulting html: [<blockquote>
<pre><code> foo
</code></pre>
</blockquote>
] matched!
markdown #7: [-⇥ ⇥ foo↵ ]
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 5 indent 1 -- it position: 2
+++ got a gap of 6 >= 4 blanks! (working column/end: 1/2, it column 9, list indent + 4: 5 -- it position: 3) TOP has-empty-line
---- gap return with f_list_subblock of 7
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
+++ adding a CODE BLOCK here (indent: 7)
---- got indent of 7 vs column 9
---- got indented code block
+++ add child to child? (list sub-block: 7)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
+ CODE_BLOCK_INDENTED (line/column: 1/9)
- Parent (LIST_DASH)
- Content: " foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
+ CODE_BLOCK_INDENTED (line/column: 1/9)
- Parent (LIST_DASH)
- Content: " foo
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: |
+---> resulting html: [<ul>
<li>
<pre><code> foo
</code></pre>
</li>
</ul>
] matched!
markdown #8: [⎵ ⎵ ⎵ ⎵ foo↵ ⇥ bar↵ ]
1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 1) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 1
--- not empty? -- it position: 1
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [bar
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "foo
bar
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "foo
bar
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" - foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column |
+---> resulting html: [<pre><code>foo
bar
</code></pre>
] matched!
markdown #9: [⎵ -⎵ foo↵ ⎵ ⎵ ⎵ -⎵ bar↵ ⇥ ⎵ -⎵ baz↵ ]
2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
working block is a list? no and list_indent is 1 -- it position: 1
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 4 indent 1 -- it position: 3
+++ gap so far 0 blanks, working column: 3, it column 4, list indent: 1 -- it position: 3
working block is a list? YES and list_indent is 1 -- it position: 3
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15ef04
it on entry: [0x5ca51f15ef04]
--- not HTML block? -- it position: 3 -- 0x5ca51f15ef04
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15ef04 -- 0x5ca51f15ef28
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 4 & 2 & no parent
+++ link new? 0x5ca51f160780
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/2-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - bar", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
working block is a list? no and list_indent is 2147483647 -- it position: 3
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 6 indent 2147483647 -- it position: 5
+++ gap so far 0 blanks, working column: 5, it column 6, list indent: 2147483647 -- it position: 5
working block is a list? YES and list_indent is 2147483647 -- it position: 5
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 5
+++ not a list or blockquote? -- it position: 5
any containers (other than line)? -- it position: 5
--- not empty? -- it position: 5
--- not indented block? -- it position: 5
--- not fenced block? -- it position: 5 -- 0x5ca51f15ef1c
it on entry: [0x5ca51f15ef1c]
--- not HTML block? -- it position: 5 -- 0x5ca51f15ef1c
--- not header? -- it position: 5
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 5
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 5 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15ef1c -- 0x5ca51f15ef40
link child
save working child
end paragraph handling
---- paragraph
+++ link sub-list? working parent column: 4, last parent end-column: 3
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/2-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/4)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/4-5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/6)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - baz", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 1
column: 5 indent 2147483647 -- it position: 1
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 2147483647 -- it position: 2
column: 6 indent 2147483647 -- it position: 2
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 8 indent 2147483647 -- it position: 4
+++ gap so far 0 blanks, working column: 7, it column 8, list indent: 2147483647 -- it position: 4
working block is a list? YES and list_indent is 2147483647 -- it position: 4
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15ef10
it on entry: [0x5ca51f15ef10]
--- not HTML block? -- it position: 4 -- 0x5ca51f15ef10
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15ef10 -- 0x5ca51f15ef34
link child
save working child
end paragraph handling
---- paragraph
+++ link sub-list? working parent column: 6, last parent end-column: 5
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/2-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/4)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/4-5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 2/6)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/6-7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/8)
- Parent (LIST_DASH)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/2-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/4)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/4-5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 2/6)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/6-7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/8)
- Parent (LIST_DASH)
- Content: "baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---- inline to parse: [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="# Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
|
+---> resulting html: [<ul>
<li>foo
<ul>
<li>bar
<ul>
<li>baz</li>
</ul>
</li>
</ul>
</li>
</ul>
] matched!
markdown #10: [#⇥ Foo↵ ]
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 1
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="* * * ", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is |
+---> resulting html: [<h1>Foo</h1>
] matched!
markdown #11: [*⇥ *⇥ *⇥ ↵ ]
1 -- it position: 0
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="\!\"\#\$\%\&\'\(\)\*\+\, |
+---> resulting html: [<hr />
] matched!
markdown #12: [\!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\:\;\<\=\>\?\@\[\\\]\^\_\`\{\|\}\~↵ ]
\-\.\/\:\;\<\=\>\?\@\[\\\]\^\_\`\{\|\}\~", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [92]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1636c0 -- 0x5ca51f1636c0 -- 0x5ca51f1639c0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\:\;\<\=\>\?\@\[\\\]\^\_\ [...]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\:\;\<\=\>\?\@\[\\\]\^\_\ [...]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [\!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\:\;\<\=\>\?\@\[\\\]\^\_\`\{\|\}\~]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="\ \A\a\ \3\φ\«", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 |
+---> resulting html: [<p>!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~</p>
] matched!
markdown #13: [\⇥ \A\a\⎵ \3\φ\«↵ ]
indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [92]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f260
it on entry: [0x5ca51f15f260]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f260
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f260 -- 0x5ca51f15f260 -- 0x5ca51f15f308
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\ \A\a\ \3\φ\«"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\ \A\a\ \3\φ\«"
- * -------------------------------------------- TREE END ---
---- inline to parse: [\ \A\a\ \3\φ\«]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="\*not emphasized*", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 |
+---> resulting html: [<p>\ \A\a\ \3\φ\«</p>
] matched!
markdown #14: [\*not⎵ emphasized*↵ \<br/>⎵ not⎵ a⎵ tag↵ \[not⎵ a⎵ link](/foo)↵ \`not⎵ code`↵ 1\.⎵ not⎵ a⎵ list↵ \*⎵ not⎵ a⎵ list↵ \#⎵ not⎵ a⎵ heading↵ \[foo]:⎵ /url⎵ "not⎵ a⎵ reference"↵ \ö⎵ not⎵ a⎵ character⎵ entity↵ ]
-- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [92]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f040
it on entry: [0x5ca51f15f040]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f040
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f040 -- 0x5ca51f15f040 -- 0x5ca51f15f10c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\*not emphasized*"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="\<br/> not a tag", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [92]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f040
it on entry: [0x5ca51f15f040]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f040
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f040 -- 0x5ca51f15f040 -- 0x5ca51f15f100
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [\<br/> not a tag]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\*not emphasized*
\<br/> not a tag"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="\[not a link](/foo)", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [92]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f040
it on entry: [0x5ca51f15f040]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f040
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f040 -- 0x5ca51f15f040 -- 0x5ca51f15f124
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [\[not a link](/foo)]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\*not emphasized*
\<br/> not a tag
\[not a link](/foo)"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="\`not code`", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [92]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f040
it on entry: [0x5ca51f15f040]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f040
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f040 -- 0x5ca51f15f040 -- 0x5ca51f15f0c4
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [\`not code`]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\*not emphasized*
\<br/> not a tag
\[not a link](/foo)
[...]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="1\. not a list", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [49]...
>> numbered list...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f040
it on entry: [0x5ca51f15f040]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f040
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f040 -- 0x5ca51f15f040 -- 0x5ca51f15f0e8
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [1\. not a list]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\*not emphasized*
\<br/> not a tag
\[not a link](/foo)
[...]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="\* not a list", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [92]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f040
it on entry: [0x5ca51f15f040]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f040
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f040 -- 0x5ca51f15f040 -- 0x5ca51f15f0dc
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [\* not a list]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\*not emphasized*
\<br/> not a tag
\[not a link](/foo)
[...]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="\# not a heading", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [92]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f040
it on entry: [0x5ca51f15f040]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f040
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f040 -- 0x5ca51f15f040 -- 0x5ca51f15f100
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [\# not a heading]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\*not emphasized*
\<br/> not a tag
\[not a link](/foo)
[...]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="\[foo]: /url "not a reference"", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [92]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f040
it on entry: [0x5ca51f15f040]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f040
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f040 -- 0x5ca51f15f040 -- 0x5ca51f15f1a8
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [\[foo]: /url "not a reference"]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\*not emphasized*
\<br/> not a tag
\[not a link](/foo)
[...]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="\ö not a character entity", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [92]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f040
it on entry: [0x5ca51f15f040]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f040
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f040 -- 0x5ca51f15f040 -- 0x5ca51f15f1a8
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [\ö not a character entity]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\*not emphasized*
\<br/> not a tag
\[not a link](/foo)
[...]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\*not emphasized*
\<br/> not a tag
\[not a link](/foo)
[...]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [\*not emphasized*
\<br/> not a tag
\[not a link](/foo)
\`not code`
1\. not a list
\* not a list
\# not a heading
\[foo]: /url "not a reference"
\ö not a character entity]
>>> found some mark...
>>> just mark...
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="\\*emphasis*", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [92]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162ea0
it on entry: [0x5ca51f162ea0]
--- not HTML block? -- it position: 0 -- 0x5ca51f162ea0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162ea0 -- 0x5ca51f162ea0 -- 0x5ca51f162f30
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
|
+---> resulting html: [<p>*not emphasized*
<br/> not a tag
[not a link](/foo)
`not code`
1. not a list
* not a list
# not a heading
[foo]: /url "not a reference"
&ouml; not a character entity</p>
] matched!
markdown #15: [\\*emphasis*↵ ]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\\*emphasis*"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\\*emphasis*"
- * -------------------------------------------- TREE END ---
---- inline to parse: [\\*emphasis*]
>>> found some mark...
>>> mark could be a left flanking span...
*** remain after 'span': []
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="foo\", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? |
+---> resulting html: [<p>\<em>emphasis</em></p>
] matched!
markdown #16: [foo\↵ bar↵ ]
no and list_indent is 1 -- it position: 0
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f450
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo\"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo\
bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo\
bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo\
bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="`` \[\` ``", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: |
+---> resulting html: [<p>foo<br />
bar</p>
] matched!
markdown #17: [``⎵ \[\`⎵ ``↵ ]
1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15fd30
it on entry: [0x5ca51f15fd30]
--- not HTML block? -- it position: 0 -- 0x5ca51f15fd30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15fd30 -- 0x5ca51f15fd30 -- 0x5ca51f15fda8
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "`` \[\` ``"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "`` \[\` ``"
- * -------------------------------------------- TREE END ---
---- inline to parse: [`` \[\` ``]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" \[\]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1 |
+---> resulting html: [<p><code>\[\`</code></p>
] matched!
markdown #18: [⎵ ⎵ ⎵ ⎵ \[\]↵ ]
, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "\[\]
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "\[\]
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="~~~", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? |
+---> resulting html: [<pre><code>\[\]
</code></pre>
] matched!
markdown #19: [~~~↵ \[\]↵ ~~~↵ ]
no and list_indent is 1 -- it position: 0
>> parse for list [126]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line [\[\]]
--- check indent: 1 vs 1
--- end count: 0
--- add: \[\]
--- got next line [~~~]
--- check indent: 1 vs 1
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_TILDE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_TILDE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\[\]
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_TILDE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_TILDE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\[\]
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<http://example.co |
+---> resulting html: [<pre><code>\[\]
</code></pre>
] matched!
markdown #20: [<http://example.com?find=\*>↵ ]
m?find=\*>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f040
it on entry: [0x5ca51f15f040]
it column 1 vs 1
it after reading name "http": [0x5ca51f15f040] ... et [0x5ca51f15f07c]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f040
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f040 -- 0x5ca51f15f040 -- 0x5ca51f15f190
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<http://example.com?find=\*>"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<http://example.com?find=\*>"
- * -------------------------------------------- TREE END ---
---- inline to parse: [<http://example.com?find=\*>]
---------------- convert HTML tag (inline)
convert character: 104
convert character: 116
convert character: 116
convert character: 112
convert character: 58
convert character: 47
convert character: 47
convert character: 101
convert character: 120
convert character: 97
convert character: 109
convert character: 112
convert character: 108
convert character: 101
convert character: 46
convert character: 99
convert character: 111
convert character: 109
convert character: 63
convert character: 102
convert character: 105
convert character: 110
convert character: 100
convert character: 61
convert character: 42
URI converted: http://example.com?find=%5C*
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<a href="/bar\/)">", list?=(no parent), f_working_block->end_column()=1, has empty line? |
+---> resulting html: [<p><a href="http://example.com?find=%5C*">http://example.com?find=\*</a></p>
] matched!
markdown #21: [<a⎵ href="/bar\/)">↵ ]
YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f040
it on entry: [0x5ca51f15f040]
it column 1 vs 1
it after reading name "a": [0x5ca51f15f040] ... et [0x5ca51f15f058]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- COMPLETE TAG -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<a"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- tag needs to be complete (<a href="/bar\/)">)...
---- tag innards state: 0 for [ href="/bar\/)">]...
---- tag innards skip blank
---- tag innards state: 0 for [href="/bar\/)">]...
---- tag innards found attribute name
---- tag innards state: 1 for [="/bar\/)">]...
---- tag innards got '=' before value
---- tag innards state: 3 for ["/bar\/)">]...
---- tag innards state: 5 for [/bar\/)">]...
---- tag innards state: 5 for [bar\/)">]...
---- tag innards state: 5 for [ar\/)">]...
---- tag innards state: 5 for [r\/)">]...
---- tag innards state: 5 for [\/)">]...
---- tag innards state: 5 for [/)">]...
---- tag innards state: 5 for [)">]...
---- tag innards state: 5 for [">]...
---- tag innards state: 0 for [>]...
---- tag innards found '>', valid!
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<a href="/bar\/)">
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<a href="/bar\/)">
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<a href="/bar\/)">
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo](/bar\* "ti\*tle")", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
|
+---> resulting html: [<a href="/bar\/)">
] matched!
markdown #22: [[foo](/bar\*⎵ "ti\*tle")↵ ]
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f040
it on entry: [0x5ca51f15f040]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f040
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 40...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f040 -- 0x5ca51f15f040 -- 0x5ca51f15f154
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo](/bar\* "ti\*tle")"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo](/bar\* "ti\*tle")"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo](/bar\* "ti\*tle")]
>>> destination -- got '('
>>> destination -- got more than '('
>>> destination -- as is URL valid? true
>>> destination -- check for title open quote
>>> destination -- closing parenthesis?
convert character: 47
convert character: 98
convert character: 97
convert character: 114
convert character: 42
URI converted: /bar*
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1 |
+---> resulting html: [<p><a href="/bar*" title="ti*tle">foo</a></p>
] matched!
markdown #23: [[foo]↵ ↵ [foo]:⎵ /bar\*⎵ "ti\*tle"↵ ]
, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eee0 -- 0x5ca51f15ef1c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: /bar\* "ti\*tle"", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f040
it on entry: [0x5ca51f15f040]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f040
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/bar\* "ti\*tle"}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/bar*]...
---- add result as link reference [foo] [/bar*] [ti*tle]...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
convert character: 47
convert character: 98
convert character: 97
convert character: 114
convert character: 42
URI converted: /bar*
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="``` foo\+bar", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [foo\+bar] -- indentation: 1
--- got next line [foo]
--- check indent: 1 vs 1
--- end count: 0
--- add: foo
--- got next line [```]
--- check indent: 1 vs 1
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
|
+---> resulting html: [<p><a href="/bar*" title="ti*tle">foo</a></p>
] matched!
markdown #24: [```⎵ foo\+bar↵ foo↵ ```↵ ]
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo
"
- String Info: "foo\+bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo
"
- String Info: "foo\+bar"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" & © &AE |
+---> resulting html: [<pre><code class="language-foo+bar">foo
</code></pre>
] matched!
markdown #25: [ ⎵ &⎵ ©⎵ Æ⎵ Ď↵ ¾⎵ ℋ⎵ ⅆ↵ ∲⎵ ≧̸↵ ]
lig; Ď", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [38]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1636c0 -- 0x5ca51f1636c0 -- 0x5ca51f163870
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: " & © Æ Ď"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="¾ ℋ ⅆ", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [38]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1636c0 -- 0x5ca51f1636c0 -- 0x5ca51f163894
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [¾ ℋ ⅆ]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: " & © Æ Ď
¾ &HilbertS [...]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="∲ ≧̸", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [38]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1636c0 -- 0x5ca51f1636c0 -- 0x5ca51f163840
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [∲ ≧̸]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: " & © Æ Ď
¾ &HilbertS [...]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: " & © Æ Ď
¾ &HilbertS [...]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [ & © Æ Ď
¾ ℋ ⅆ
∲ ≧̸]
results name = [nbsp] and codes = -62, -96
results name = [copy] and codes = -62, -87
results name = [AElig] and codes = -61, -122
results name = [Dcaron] and codes = -60, -114
results name = [frac34] and codes = -62, -66
results name = [HilbertSpace] and codes = -30, -124, -117
results name = [DifferentialD] and codes = -30, -123, -122
results name = [ClockwiseContourIntegral] and codes = -30, -120, -78
results name = [ngE] and codes = -30, -119, -89, -52, -72
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="# Ӓ Ϡ �", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [38]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161bdc
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent |
+---> resulting html: [<p> & © Æ Ď
¾ ℋ ⅆ
∲ ≧̸</p>
] matched!
markdown #26: [#⎵ Ӓ⎵ Ϡ⎵ �↵ ]
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "# Ӓ Ϡ �"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "# Ӓ Ϡ �"
- * -------------------------------------------- TREE END ---
---- inline to parse: [# Ӓ Ϡ �]
--- code = [35] -- HAS DIGIT SEMI-COLON
--- code = [1234] -- HAS DIGIT SEMI-COLON
--- code = [992] -- HAS DIGIT SEMI-COLON
--- code = [0] -- HAS DIGIT SEMI-COLON
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="" ആ ಫ", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
|
+---> resulting html: [<p># Ӓ Ϡ �</p>
] matched!
markdown #27: ["⎵ ആ⎵ ಫ↵ ]
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [38]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161bb8
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "" ആ ಫ"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "" ആ ಫ"
- * -------------------------------------------- TREE END ---
---- inline to parse: [" ആ ಫ]
--- code = [34] -- HAS DIGIT SEMI-COLON
--- code = [3334] -- HAS DIGIT SEMI-COLON
--- code = [3243] -- HAS DIGIT SEMI-COLON
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="  &x; &#; &#x |
+---> resulting html: [<p>" ആ ಫ</p>
] matched!
markdown #28: [ ⎵ &x;⎵ &#;⎵ &#x;↵ �↵ &#abcdef0;↵ &ThisIsNotDefined;⎵ &hi?;↵ ]
;", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [38]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161b88
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "  &x; &#; &#x;"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="�", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [38]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161b34
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [�]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "  &x; &#; &#x;
�"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="&#abcdef0;", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [38]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161b28
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [&#abcdef0;]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "  &x; &#; &#x;
�
&#abcdef0;"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="&ThisIsNotDefined; &hi?;", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [38]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161bd0
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [&ThisIsNotDefined; &hi?;]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "  &x; &#; &#x;
�
&#abcdef0;
&ThisIsNotDef [...]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "  &x; &#; &#x;
�
&#abcdef0;
&ThisIsNotDef [...]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [  &x; &#; &#x;
�
&#abcdef0;
&ThisIsNotDefined; &hi?;]
--- code = [0] -- no digit SEMI-COLON
--- code = [0] -- no digit SEMI-COLON
--- code = [8765432] -- HAS DIGIT not ';'
--- code = [0] -- no digit not ';'
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="©", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [38]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
|
+---> resulting html: [<p>&nbsp &x; &#; &#x;
&#87654321;
&#abcdef0;
&ThisIsNotDefined; &hi?;</p>
] matched!
markdown #29: [©↵ ]
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "©"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "©"
- * -------------------------------------------- TREE END ---
---- inline to parse: [©]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="&MadeUpEntity;", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: |
+---> resulting html: [<p>&copy</p>
] matched!
markdown #30: [&MadeUpEntity;↵ ]
0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [38]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15fd30
it on entry: [0x5ca51f15fd30]
--- not HTML block? -- it position: 0 -- 0x5ca51f15fd30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15fd30 -- 0x5ca51f15fd30 -- 0x5ca51f15fdd8
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "&MadeUpEntity;"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "&MadeUpEntity;"
- * -------------------------------------------- TREE END ---
---- inline to parse: [&MadeUpEntity;]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<a href="öö.ht |
+---> resulting html: [<p>&MadeUpEntity;</p>
] matched!
markdown #31: [<a⎵ href="öö.html">↵ ]
ml">", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
it column 1 vs 1
it after reading name "a": [0x5ca51f161ab0] ... et [0x5ca51f161ac8]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- COMPLETE TAG -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<a"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- tag needs to be complete (<a href="öö.html">)...
---- tag innards state: 0 for [ href="öö.html">]...
---- tag innards skip blank
---- tag innards state: 0 for [href="öö.html">]...
---- tag innards found attribute name
---- tag innards state: 1 for [="öö.html">]...
---- tag innards got '=' before value
---- tag innards state: 3 for ["öö.html">]...
---- tag innards state: 5 for [öö.html">]...
---- tag innards state: 5 for [ouml;ö.html">]...
---- tag innards state: 5 for [uml;ö.html">]...
---- tag innards state: 5 for [ml;ö.html">]...
---- tag innards state: 5 for [l;ö.html">]...
---- tag innards state: 5 for [;ö.html">]...
---- tag innards state: 5 for [ö.html">]...
---- tag innards state: 5 for [ouml;.html">]...
---- tag innards state: 5 for [uml;.html">]...
---- tag innards state: 5 for [ml;.html">]...
---- tag innards state: 5 for [l;.html">]...
---- tag innards state: 5 for [;.html">]...
---- tag innards state: 5 for [.html">]...
---- tag innards state: 5 for [html">]...
---- tag innards state: 5 for [tml">]...
---- tag innards state: 5 for [ml">]...
---- tag innards state: 5 for [l">]...
---- tag innards state: 5 for [">]...
---- tag innards state: 0 for [>]...
---- tag innards found '>', valid!
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<a href="öö.html">
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<a href="öö.html">
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<a href="öö.html">
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo](/föö "föö")", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 40...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
|
+---> resulting html: [<a href="öö.html">
] matched!
markdown #32: [[foo](/föö⎵ "föö")↵ ]
add content -- 0x5ca51f1636c0 -- 0x5ca51f1636c0 -- 0x5ca51f16387c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo](/föö "föö")"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo](/föö "föö")"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo](/föö "föö")]
>>> destination -- got '('
>>> destination -- got more than '('
>>> destination -- as is URL valid? true
>>> destination -- check for title open quote
>>> destination -- closing parenthesis?
results name = [ouml] and codes = -61, -74
results name = [ouml] and codes = -61, -74
convert character: 47
convert character: 102
convert character: 246
convert character: 246
URI converted: /f%C3%B6%C3%B6
results name = [ouml] and codes = -61, -74
results name = [ouml] and codes = -61, -74
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91 |
+---> resulting html: [<p><a href="/f%C3%B6%C3%B6" title="föö">foo</a></p>
] matched!
markdown #33: [[foo]↵ ↵ [foo]:⎵ /föö⎵ "föö"↵ ]
]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: /föö "föö"", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/föö "föö"}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/föö]...
---- add result as link reference [foo] [/föö] [föö]...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
results name = [ouml] and codes = -61, -74
results name = [ouml] and codes = -61, -74
convert character: 47
convert character: 102
convert character: 246
convert character: 246
URI converted: /f%C3%B6%C3%B6
results name = [ouml] and codes = -61, -74
results name = [ouml] and codes = -61, -74
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="``` föö", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [föö] -- indentation: 1
--- got next line [foo]
--- check indent: 1 vs 1
--- end count: 0
--- add: foo
|
+---> resulting html: [<p><a href="/f%C3%B6%C3%B6" title="föö">foo</a></p>
] matched!
markdown #34: [```⎵ föö↵ foo↵ ```↵ ]
--- got next line [```]
--- check indent: 1 vs 1
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo
"
- String Info: "föö"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo
"
- String Info: "föö"
- * -------------------------------------------- TREE END ---
results name = [ouml] and codes = -61, -74
results name = [ouml] and codes = -61, -74
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="`föö`", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: |
+---> resulting html: [<pre><code class="language-föö">foo
</code></pre>
] matched!
markdown #35: [`föö`↵ ]
1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160850
it on entry: [0x5ca51f160850]
--- not HTML block? -- it position: 0 -- 0x5ca51f160850
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160850 -- 0x5ca51f160850 -- 0x5ca51f160904
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "`föö`"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "`föö`"
- * -------------------------------------------- TREE END ---
---- inline to parse: [`föö`]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" föfö", list?=(no parent), f_working_block->end_column()=1, has empty line? |
+---> resulting html: [<p><code>f&ouml;&ouml;</code></p>
] matched!
markdown #36: [⎵ ⎵ ⎵ ⎵ föfö↵ ]
YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "föfö
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "föfö
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="*foo*", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: |
+---> resulting html: [<pre><code>f&ouml;f&ouml;
</code></pre>
] matched!
markdown #37: [*foo*↵ *foo*↵ ]
0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [38]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162ea0
it on entry: [0x5ca51f162ea0]
--- not HTML block? -- it position: 0 -- 0x5ca51f162ea0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162ea0 -- 0x5ca51f162ea0 -- 0x5ca51f162f3c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "*foo*"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="*foo*", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [42]...
>> list type [42]...
>> list blank missing [102]...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162ea0
it on entry: [0x5ca51f162ea0]
--- not HTML block? -- it position: 0 -- 0x5ca51f162ea0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162ea0 -- 0x5ca51f162ea0 -- 0x5ca51f162edc
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [*foo*]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "*foo*
*foo*"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "*foo*
*foo*"
- * -------------------------------------------- TREE END ---
---- inline to parse: [*foo*
*foo*]
--- code = [42] -- HAS DIGIT SEMI-COLON
--- code = [42] -- HAS DIGIT SEMI-COLON
>>> found some mark...
>>> mark could be a left flanking span...
*** remain after 'span': []
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="* foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: |
+---> resulting html: [<p>*foo*
<em>foo</em></p>
] matched!
markdown #38: [*⎵ foo↵ ↵ *⎵ foo↵ ]
1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [38]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15fd30
it on entry: [0x5ca51f15fd30]
--- not HTML block? -- it position: 0 -- 0x5ca51f15fd30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15fd30 -- 0x5ca51f15fd30 -- 0x5ca51f15fd9c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "* foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "* foo"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "* foo"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "* foo"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="* foo", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [42]...
>> list type [42]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15fd48
it on entry: [0x5ca51f15fd48]
--- not HTML block? -- it position: 2 -- 0x5ca51f15fd48
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15fd30 -- 0x5ca51f15fd48 -- 0x5ca51f15fd6c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no
columns (w/wp/lp): 3 & 1 & 1
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: LIST_ASTERISK, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (LIST_ASTERISK), Parent (DOCUMENT)
- Content: "* foo"
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 3/1-2)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_ASTERISK)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: LIST_ASTERISK, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (LIST_ASTERISK), Parent (DOCUMENT)
- Content: "* foo"
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 3/1-2)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_ASTERISK)
- Content: "foo"
- * -------------------------------------------- TREE END ---
---- inline to parse: [* foo]
--- code = [42] -- HAS DIGIT SEMI-COLON
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="foo bar", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1616f0
it on entry: [0x5ca51f1616f0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1616f0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1616f0 -- 0x5ca51f1616f0 -- 0x5ca51f1617b0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f270
|
+---> resulting html: [<p>* foo</p>
<ul>
<li>foo</li>
</ul>
] matched!
markdown #39: [foo bar↵ ]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo bar]
--- code = [10] -- HAS DIGIT SEMI-COLON
--- code = [10] -- HAS DIGIT SEMI-COLON
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="	foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0 |
+---> resulting html: [<p>foo
bar</p>
] matched!
markdown #40: [	foo↵ ]
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [38]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eee0 -- 0x5ca51f15ef34
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "	foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "	foo"
- * -------------------------------------------- TREE END ---
---- inline to parse: [	foo]
--- code = [9] -- HAS DIGIT SEMI-COLON
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[a](url " |
+---> resulting html: [<p> foo</p>
] matched!
markdown #41: [[a](url⎵ "tit")↵ ]
tit")", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 40...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161bd0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[a](url "tit")"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[a](url "tit")"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[a](url "tit")]
>>> destination -- got '('
>>> destination -- got more than '('
>>> destination -- as is URL valid? true
>>> destination -- check for title open quote
>>> destination -- closing parenthesis?
>>> destination -- return false?
not a valid link destination, try again as a reference...
--- ref: search for link named [a]
>>> not a link... return error [[]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- `one", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1 |
+---> resulting html: [<p>[a](url "tit")</p>
] matched!
markdown #42: [-⎵ `one↵ -⎵ two`↵ ]
, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15eef8
it on entry: [0x5ca51f15eef8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15eef8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eef8 -- 0x5ca51f15ef28
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "`one"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- two`", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [116]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15eef8
it on entry: [0x5ca51f15eef8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15eef8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eef8 -- 0x5ca51f15ef28
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "`one"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "two`"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "`one"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "two`"
- * -------------------------------------------- TREE END ---
---- inline to parse: [`one]
---- inline to parse: [two`]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="***", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="---", list?=(not list) |
+---> resulting html: [<ul>
<li>`one</li>
<li>two`</li>
</ul>
] matched!
markdown #43: [***↵ ---↵ ___↵ ]
, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT)
+ BREAK_DASH (line/column: 2/1)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="___", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [95]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT)
+ BREAK_DASH (line/column: 2/1)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Last: BREAK_UNDERLINE, Count: 3)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT)
+ BREAK_DASH (line/column: 2/1)
- Next Sibling (BREAK_UNDERLINE), Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
+ BREAK_UNDERLINE (line/column: 3/1)
- Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Last: BREAK_UNDERLINE, Count: 3)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT)
+ BREAK_DASH (line/column: 2/1)
- Next Sibling (BREAK_UNDERLINE), Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
+ BREAK_UNDERLINE (line/column: 3/1)
- Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="+++", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [43]...
>> list type [ |
+---> resulting html: [<hr />
<hr />
<hr />
] matched!
markdown #44: [+++↵ ]
43]...
>> list blank missing [43]...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "+++"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "+++"
- * -------------------------------------------- TREE END ---
---- inline to parse: [+++]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="===", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 |
+---> resulting html: [<p>+++</p>
] matched!
markdown #45: [===↵ ]
blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [61]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "==="
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "==="
- * -------------------------------------------- TREE END ---
---- inline to parse: [===]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="--", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? |
+---> resulting html: [<p>===</p>
] matched!
markdown #46: [--↵ **↵ __↵ ]
no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
>> list blank missing [45]...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f8e0
it on entry: [0x5ca51f15f8e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f8e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f8e0 -- 0x5ca51f15f8e0 -- 0x5ca51f15f8f8
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "--"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="**", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [42]...
>> list type [42]...
>> list blank missing [42]...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f8e0
it on entry: [0x5ca51f15f8e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f8e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "--"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f8e0 -- 0x5ca51f15f8e0 -- 0x5ca51f15f8f8
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [**]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "--
**"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="__", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [95]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f8e0
it on entry: [0x5ca51f15f8e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f8e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "--
**"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f8e0 -- 0x5ca51f15f8e0 -- 0x5ca51f15f8f8
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [__]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "--
**
__"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "--
**
__"
- * -------------------------------------------- TREE END ---
---- inline to parse: [--
**
__]
>>> found some mark...
>>> just mark...
>>> found some mark...
>>> just mark...
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ***", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
working block is a list? no and list_indent is 1 -- it position: 1
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 1
+++ not a list or blockquote? -- it position: 1
any containers (other than line)? -- it position: 1
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f15f42c
it on entry: [0x5ca51f15f42c]
--- not HTML block? -- it position: 1 -- 0x5ca51f15f42c
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 2 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
|
+---> resulting html: [<p>--
**
__</p>
] matched!
markdown #47: [⎵ ***↵ ⎵ ⎵ ***↵ ⎵ ⎵ ⎵ ***↵ ]
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/2)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ***", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15eef8
it on entry: [0x5ca51f15eef8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15eef8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/2)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 3 & 1 & 1
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Last: BREAK_ASTERISK, Count: 2)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/2)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
+ BREAK_ASTERISK (line/column: 2/3)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ***", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
working block is a list? no and list_indent is 2147483647 -- it position: 3
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15ef04
it on entry: [0x5ca51f15ef04]
--- not HTML block? -- it position: 3 -- 0x5ca51f15ef04
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Last: BREAK_ASTERISK, Count: 2)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/2)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
+ BREAK_ASTERISK (line/column: 2/3)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 4 & 1 & 1
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Last: BREAK_ASTERISK, Count: 3)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/2)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
+ BREAK_ASTERISK (line/column: 2/3)
- Next Sibling (BREAK_ASTERISK), Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
+ BREAK_ASTERISK (line/column: 3/4)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Last: BREAK_ASTERISK, Count: 3)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/2)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
+ BREAK_ASTERISK (line/column: 2/3)
- Next Sibling (BREAK_ASTERISK), Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
+ BREAK_ASTERISK (line/column: 3/4)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ***", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1 |
+---> resulting html: [<hr />
<hr />
<hr />
] matched!
markdown #48: [⎵ ⎵ ⎵ ⎵ ***↵ ]
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "***
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "***
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no |
+---> resulting html: [<pre><code>***
</code></pre>
] matched!
markdown #49: [Foo↵ ⎵ ⎵ ⎵ ⎵ ***↵ ]
and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ***", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? no and list_indent is 2147483647 -- it position: 4
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15ef10 -- 0x5ca51f15ef34
link child
save working child
end paragraph handling
---- early paragraph WITHOUT list sub-block = 5 >= 0 + 4
+++ append to existing block code or paragraph? [***]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
***"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
***"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo
***]
>>> found some mark...
>>> just mark...
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="_______________________ |
+---> resulting html: [<p>Foo
***</p>
] matched!
markdown #50: [_____________________________________↵ ]
______________", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [95]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_UNDERLINE, Count: 1)
- Block is followed by at least one empty line
+ BREAK_UNDERLINE (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_UNDERLINE, Count: 1)
- Block is followed by at least one empty line
+ BREAK_UNDERLINE (line/column: 1/1)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" - - -", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 |
+---> resulting html: [<hr />
] matched!
markdown #51: [⎵ -⎵ -⎵ -↵ ]
-- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
working block is a list? no and list_indent is 1 -- it position: 1
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 1
+++ not a list or blockquote? -- it position: 1
any containers (other than line)? -- it position: 1
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f15eeec
it on entry: [0x5ca51f15eeec]
--- not HTML block? -- it position: 1 -- 0x5ca51f15eeec
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 2 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/2)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/2)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ** * ** * ** * **", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
|
+---> resulting html: [<hr />
] matched!
markdown #52: [⎵ **⎵ ⎵ *⎵ **⎵ *⎵ **⎵ *⎵ **↵ ]
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
working block is a list? no and list_indent is 1 -- it position: 1
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 1
+++ not a list or blockquote? -- it position: 1
any containers (other than line)? -- it position: 1
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f161abc
it on entry: [0x5ca51f161abc]
--- not HTML block? -- it position: 1 -- 0x5ca51f161abc
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 2 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/2)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/2)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- - - |
+---> resulting html: [<hr />
] matched!
markdown #53: [-⎵ ⎵ ⎵ ⎵ ⎵ -⎵ ⎵ ⎵ ⎵ ⎵ ⎵ -⎵ ⎵ ⎵ ⎵ ⎵ ⎵ -↵ ]
-", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- - - - ", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: |
+---> resulting html: [<hr />
] matched!
markdown #54: [-⎵ -⎵ -⎵ -⎵ ⎵ ⎵ ⎵ ↵ ]
1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162f80
it on entry: [0x5ca51f162f80]
--- not HTML block? -- it position: 0 -- 0x5ca51f162f80
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="_ _ _ _ a", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
|
+---> resulting html: [<hr />
] matched!
markdown #55: [_⎵ _⎵ _⎵ _⎵ a↵ ↵ a------↵ ↵ ---a---↵ ]
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [95]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162ea0
it on entry: [0x5ca51f162ea0]
--- not HTML block? -- it position: 0 -- 0x5ca51f162ea0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162ea0 -- 0x5ca51f162ea0 -- 0x5ca51f162f0c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "_ _ _ _ a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "_ _ _ _ a"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "_ _ _ _ a"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "_ _ _ _ a"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="a------", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162ea0
it on entry: [0x5ca51f162ea0]
--- not HTML block? -- it position: 0 -- 0x5ca51f162ea0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162ea0 -- 0x5ca51f162ea0 -- 0x5ca51f162ef4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "_ _ _ _ a"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "a------"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "_ _ _ _ a"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "a------"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "a------"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "_ _ _ _ a"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "a------"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="---a---", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
>> list blank missing [45]...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162ea0
it on entry: [0x5ca51f162ea0]
--- not HTML block? -- it position: 0 -- 0x5ca51f162ea0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162ea0 -- 0x5ca51f162ea0 -- 0x5ca51f162ef4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "_ _ _ _ a"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "a------"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "---a---"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "_ _ _ _ a"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "a------"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "---a---"
- * -------------------------------------------- TREE END ---
---- inline to parse: [_ _ _ _ a]
>>> found some mark...
>>> just mark...
>>> found some mark...
>>> just mark...
>>> found some mark...
>>> just mark...
>>> found some mark...
>>> just mark...
---- inline to parse: [a------]
---- inline to parse: [---a---]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" *-*", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
working block is a list? no and list_indent is 1 -- it position: 1
>> parse for list [42]...
>> list type [42]...
>> list blank missing [45]...
but after calling parse_list() we have list_indent = 1 -- it position: 1
+++ not a list or blockquote? -- it position: 1
any containers (other than line)? -- it position: 1
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f15f42c
it on entry: [0x5ca51f15f42c]
--- not HTML block? -- it position: 1 -- 0x5ca51f15f42c
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
--- not thematic break? -- it position: 1
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 1 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f42c -- 0x5ca51f15f450
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): |
+---> resulting html: [<p>_ _ _ _ a</p>
<p>a------</p>
<p>---a---</p>
] matched!
markdown #56: [⎵ *-*↵ ]
2 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/2)
- Parent (DOCUMENT)
- Content: "*-*"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/2)
- Parent (DOCUMENT)
- Content: "*-*"
- * -------------------------------------------- TREE END ---
---- inline to parse: [*-*]
>>> found some mark...
>>> mark could be a left flanking span...
*** remain after 'span': []
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [ |
+---> resulting html: [<p><em>-</em></p>
] matched!
markdown #57: [-⎵ foo↵ ***↵ -⎵ bar↵ ]
45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f15f270
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="***", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? LIST
columns (w/wp/lp): 1 & 1 & 2
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: BREAK_ASTERISK, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ BREAK_ASTERISK (line/column: 2/1)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no
columns (w/wp/lp): 3 & 1 & 1
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ BREAK_ASTERISK (line/column: 2/1)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT)
+ LIST_DASH (line/column: 3/1-2)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ BREAK_ASTERISK (line/column: 2/1)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT)
+ LIST_DASH (line/column: 3/1-2)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
|
+---> resulting html: [<ul>
<li>foo</li>
</ul>
<hr />
<ul>
<li>bar</li>
</ul>
] matched!
markdown #58: [Foo↵ ***↵ bar↵ ]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="***", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: BREAK_ASTERISK, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- Content: "Foo"
+ BREAK_ASTERISK (line/column: 2/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- Content: "Foo"
+ BREAK_ASTERISK (line/column: 2/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- Content: "Foo"
+ BREAK_ASTERISK (line/column: 2/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0 |
+---> resulting html: [<p>Foo</p>
<hr />
<p>bar</p>
] matched!
markdown #59: [Foo↵ ---↵ bar↵ ]
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="---", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f15f270 --- next 0 --- previous 0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="* Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [42]...
>> list type [42]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
|
+---> resulting html: [<h2>Foo</h2>
<p>bar</p>
] matched!
markdown #60: [*⎵ Foo↵ *⎵ *⎵ *↵ *⎵ Bar↵ ]
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_ASTERISK)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="* * *", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_ASTERISK)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? LIST
columns (w/wp/lp): 1 & 1 & 2
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Last: BREAK_ASTERISK, Count: 2)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_ASTERISK)
- Content: "Foo"
+ BREAK_ASTERISK (line/column: 2/1)
- Previous Sibling (LIST_ASTERISK), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="* Bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [42]...
>> list type [42]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [66]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no
columns (w/wp/lp): 3 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Last: LIST_ASTERISK, Count: 3)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_ASTERISK)
- Content: "Foo"
+ BREAK_ASTERISK (line/column: 2/1)
- Next Sibling (LIST_ASTERISK), Previous Sibling (LIST_ASTERISK), Parent (DOCUMENT)
+ LIST_ASTERISK (line/column: 3/1-2)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_ASTERISK)
- Content: "Bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Last: LIST_ASTERISK, Count: 3)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_ASTERISK)
- Content: "Foo"
+ BREAK_ASTERISK (line/column: 2/1)
- Next Sibling (LIST_ASTERISK), Previous Sibling (LIST_ASTERISK), Parent (DOCUMENT)
+ LIST_ASTERISK (line/column: 3/1-2)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_ASTERISK)
- Content: "Bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---- inline to parse: [Bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
|
+---> resulting html: [<ul>
<li>Foo</li>
</ul>
<hr />
<ul>
<li>Bar</li>
</ul>
] matched!
markdown #61: [-⎵ Foo↵ -⎵ *⎵ *⎵ *↵ ]
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- * * *", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LIST_DASH (line/column: 2/1-2)
- Parent (LINE)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: BREAK_ASTERISK, Count: 1)
+ BREAK_ASTERISK (line/column: 2/3)
- Parent (LIST_DASH)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: BREAK_ASTERISK, Count: 1)
+ BREAK_ASTERISK (line/column: 2/3)
- Parent (LIST_DASH)
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="# foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: |
+---> resulting html: [<ul>
<li>Foo</li>
<li>
<hr />
</li>
</ul>
] matched!
markdown #62: [#⎵ foo↵ ##⎵ foo↵ ###⎵ foo↵ ####⎵ foo↵ #####⎵ foo↵ ######⎵ foo↵ ]
0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="## foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 2)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 1
+ HEADER_OPEN (line/column: 2/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="### foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 3)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 1
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
+ HEADER_OPEN (line/column: 3/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 3
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="#### foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 4)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 1
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
+ HEADER_OPEN (line/column: 3/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 3
+ HEADER_OPEN (line/column: 4/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 4
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="##### foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162f80
it on entry: [0x5ca51f162f80]
--- not HTML block? -- it position: 0 -- 0x5ca51f162f80
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 5)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 1
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
+ HEADER_OPEN (line/column: 3/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 3
+ HEADER_OPEN (line/column: 4/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 4
+ HEADER_OPEN (line/column: 5/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 5
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="###### foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162f80
it on entry: [0x5ca51f162f80]
--- not HTML block? -- it position: 0 -- 0x5ca51f162f80
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 6)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 1
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
+ HEADER_OPEN (line/column: 3/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 3
+ HEADER_OPEN (line/column: 4/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 4
+ HEADER_OPEN (line/column: 5/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 5
+ HEADER_OPEN (line/column: 6/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 6
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 6)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 1
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
+ HEADER_OPEN (line/column: 3/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 3
+ HEADER_OPEN (line/column: 4/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 4
+ HEADER_OPEN (line/column: 5/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 5
+ HEADER_OPEN (line/column: 6/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 6
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [foo]
---- inline to parse: [foo]
---- inline to parse: [foo]
---- inline to parse: [foo]
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="####### foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161540
it on entry: [0x5ca51f161540]
--- not HTML block? -- it position: 0 -- 0x5ca51f161540
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161540 -- 0x5ca51f161540 -- 0x5ca51f1615c4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
|
+---> resulting html: [<h1>foo</h1>
<h2>foo</h2>
<h3>foo</h3>
<h4>foo</h4>
<h5>foo</h5>
<h6>foo</h6>
] matched!
markdown #63: [#######⎵ foo↵ ]
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "####### foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "####### foo"
- * -------------------------------------------- TREE END ---
---- inline to parse: [####### foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="#5 bolt", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: |
+---> resulting html: [<p>####### foo</p>
] matched!
markdown #64: [#5⎵ bolt↵ ↵ #hashtag↵ ]
0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "#5 bolt"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "#5 bolt"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "#5 bolt"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "#5 bolt"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="#hashtag", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f8a0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "#5 bolt"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "#hashtag"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "#5 bolt"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "#hashtag"
- * -------------------------------------------- TREE END ---
---- inline to parse: [#5 bolt]
---- inline to parse: [#hashtag]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="\## foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: |
+---> resulting html: [<p>#5 bolt</p>
<p>#hashtag</p>
] matched!
markdown #65: [\##⎵ foo↵ ]
0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [92]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\## foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\## foo"
- * -------------------------------------------- TREE END ---
---- inline to parse: [\## foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="# foo *bar* \*baz\*", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
|
+---> resulting html: [<p>## foo</p>
] matched!
markdown #66: [#⎵ foo⎵ *bar*⎵ \*baz\*↵ ]
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo *bar* \*baz\*"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo *bar* \*baz\*"
- Number: 1
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo *bar* \*baz\*]
>>> found some mark...
>>> mark could be a left flanking span...
*** remain after 'span': [ \*baz\*]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="# f |
+---> resulting html: [<h1>foo <em>bar</em> *baz*</h1>
] matched!
markdown #67: [#⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ foo⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ↵ ]
oo ", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo"
- Number: 1
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ### foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 |
+---> resulting html: [<h1>foo</h1>
] matched!
markdown #68: [⎵ ###⎵ foo↵ ⎵ ⎵ ##⎵ foo↵ ⎵ ⎵ ⎵ #⎵ foo↵ ]
-- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
working block is a list? no and list_indent is 1 -- it position: 1
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 1
+++ not a list or blockquote? -- it position: 1
any containers (other than line)? -- it position: 1
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f15f84c
it on entry: [0x5ca51f15f84c]
--- not HTML block? -- it position: 1 -- 0x5ca51f15f84c
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 2 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/2)
- Parent (DOCUMENT)
- Content: "foo"
- Number: 3
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ## foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 3 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 2)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/2)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 3
+ HEADER_OPEN (line/column: 2/3)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" # foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
working block is a list? no and list_indent is 2147483647 -- it position: 3
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15f864
it on entry: [0x5ca51f15f864]
--- not HTML block? -- it position: 3 -- 0x5ca51f15f864
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 4 & 1 & 1
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 3)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/2)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 3
+ HEADER_OPEN (line/column: 2/3)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
+ HEADER_OPEN (line/column: 3/4)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 3)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/2)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 3
+ HEADER_OPEN (line/column: 2/3)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
+ HEADER_OPEN (line/column: 3/4)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo"
- Number: 1
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [foo]
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" # foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
|
+---> resulting html: [<h3>foo</h3>
<h2>foo</h2>
<h1>foo</h1>
] matched!
markdown #69: [⎵ ⎵ ⎵ ⎵ #⎵ foo↵ ]
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "# foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "# foo
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
|
+---> resulting html: [<pre><code># foo
</code></pre>
] matched!
markdown #70: [foo↵ ⎵ ⎵ ⎵ ⎵ #⎵ bar↵ ]
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" # bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? no and list_indent is 2147483647 -- it position: 4
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
setup character
create paragraph
add content -- 0x5ca51f161540 -- 0x5ca51f161570 -- 0x5ca51f1615ac
link child
save working child
end paragraph handling
---- early paragraph WITHOUT list sub-block = 5 >= 0 + 4
+++ append to existing block code or paragraph? [# bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo
# bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo
# bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo
# bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="## foo ##", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1 |
+---> resulting html: [<p>foo
# bar</p>
] matched!
markdown #71: [##⎵ foo⎵ ##↵ ⎵ ⎵ ###⎵ ⎵ ⎵ bar⎵ ⎵ ⎵ ⎵ ###↵ ]
, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162ea0
it on entry: [0x5ca51f162ea0]
--- not HTML block? -- it position: 0 -- 0x5ca51f162ea0
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_ENCLOSED, Count: 1)
- Block is followed by at least one empty line
+ HEADER_ENCLOSED (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ### bar ###", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f161ac8
it on entry: [0x5ca51f161ac8]
--- not HTML block? -- it position: 2 -- 0x5ca51f161ac8
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 3 & 1 & 1
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_ENCLOSED, Last: HEADER_ENCLOSED, Count: 2)
- Block is followed by at least one empty line
+ HEADER_ENCLOSED (line/column: 1/1)
- Next Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
+ HEADER_ENCLOSED (line/column: 2/3)
- Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "bar"
- Number: 3
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_ENCLOSED, Last: HEADER_ENCLOSED, Count: 2)
- Block is followed by at least one empty line
+ HEADER_ENCLOSED (line/column: 1/1)
- Next Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
+ HEADER_ENCLOSED (line/column: 2/3)
- Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "bar"
- Number: 3
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="# foo ################## |
+---> resulting html: [<h2>foo</h2>
<h3>bar</h3>
] matched!
markdown #72: [#⎵ foo⎵ ##################################↵ #####⎵ foo⎵ ##↵ ]
################", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_ENCLOSED, Count: 1)
- Block is followed by at least one empty line
+ HEADER_ENCLOSED (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="##### foo ##", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_ENCLOSED, Last: HEADER_ENCLOSED, Count: 2)
- Block is followed by at least one empty line
+ HEADER_ENCLOSED (line/column: 1/1)
- Next Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "foo"
- Number: 1
+ HEADER_ENCLOSED (line/column: 2/1)
- Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "foo"
- Number: 5
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_ENCLOSED, Last: HEADER_ENCLOSED, Count: 2)
- Block is followed by at least one empty line
+ HEADER_ENCLOSED (line/column: 1/1)
- Next Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "foo"
- Number: 1
+ HEADER_ENCLOSED (line/column: 2/1)
- Previous Sibling (HEADER_ENCLOSED), Parent (DOCUMENT)
- Content: "foo"
- Number: 5
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="### foo ### ", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: |
+---> resulting html: [<h1>foo</h1>
<h5>foo</h5>
] matched!
markdown #73: [###⎵ foo⎵ ###⎵ ⎵ ⎵ ⎵ ⎵ ↵ ]
0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166d30
it on entry: [0x5ca51f166d30]
--- not HTML block? -- it position: 0 -- 0x5ca51f166d30
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_ENCLOSED, Count: 1)
- Block is followed by at least one empty line
+ HEADER_ENCLOSED (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo"
- Number: 3
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_ENCLOSED, Count: 1)
- Block is followed by at least one empty line
+ HEADER_ENCLOSED (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo"
- Number: 3
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="### foo ### b", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
|
+---> resulting html: [<h3>foo</h3>
] matched!
markdown #74: [###⎵ foo⎵ ###⎵ b↵ ]
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166e10
it on entry: [0x5ca51f166e10]
--- not HTML block? -- it position: 0 -- 0x5ca51f166e10
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo ### b"
- Number: 3
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo ### b"
- Number: 3
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo ### b]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="# foo#", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1 |
+---> resulting html: [<h3>foo ### b</h3>
] matched!
markdown #75: [#⎵ foo#↵ ]
, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo#"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo#"
- Number: 1
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo#]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="### foo \###", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far |
+---> resulting html: [<h1>foo#</h1>
] matched!
markdown #76: [###⎵ foo⎵ \###↵ ##⎵ foo⎵ #\##↵ #⎵ foo⎵ \#↵ ]
0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162ea0
it on entry: [0x5ca51f162ea0]
--- not HTML block? -- it position: 0 -- 0x5ca51f162ea0
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo \###"
- Number: 3
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="## foo #\##", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162ea0
it on entry: [0x5ca51f162ea0]
--- not HTML block? -- it position: 0 -- 0x5ca51f162ea0
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 2)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo \###"
- Number: 3
+ HEADER_OPEN (line/column: 2/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo #\##"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="# foo \#", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162ea0
it on entry: [0x5ca51f162ea0]
--- not HTML block? -- it position: 0 -- 0x5ca51f162ea0
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 3)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo \###"
- Number: 3
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo #\##"
- Number: 2
+ HEADER_OPEN (line/column: 3/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo \#"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 3)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo \###"
- Number: 3
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo #\##"
- Number: 2
+ HEADER_OPEN (line/column: 3/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo \#"
- Number: 1
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo \###]
---- inline to parse: [foo #\##]
---- inline to parse: [foo \#]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="****", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
|
+---> resulting html: [<h3>foo ###</h3>
<h2>foo ###</h2>
<h1>foo #</h1>
] matched!
markdown #77: [****↵ ##⎵ foo↵ ****↵ ]
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="## foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Last: HEADER_OPEN, Count: 2)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
+ HEADER_OPEN (line/column: 2/1)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="****", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Last: HEADER_OPEN, Count: 2)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
+ HEADER_OPEN (line/column: 2/1)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Last: BREAK_ASTERISK, Count: 3)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (BREAK_ASTERISK), Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
+ BREAK_ASTERISK (line/column: 3/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_ASTERISK, Last: BREAK_ASTERISK, Count: 3)
- Block is followed by at least one empty line
+ BREAK_ASTERISK (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (BREAK_ASTERISK), Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
+ BREAK_ASTERISK (line/column: 3/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo bar", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70 |
+---> resulting html: [<hr />
<h2>foo</h2>
<hr />
] matched!
markdown #78: [Foo⎵ bar↵ #⎵ baz↵ Bar⎵ foo↵ ]
]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eee0 -- 0x5ca51f15ef34
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="# baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: HEADER_OPEN, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "Foo bar"
+ HEADER_OPEN (line/column: 2/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "baz"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="Bar foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [66]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eee0 -- 0x5ca51f15ef34
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "Foo bar"
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "baz"
- Number: 1
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "Bar foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "Foo bar"
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "baz"
- Number: 1
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "Bar foo"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo bar]
---- inline to parse: [baz]
---- inline to parse: [Bar foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="## ", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="#", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 |
+---> resulting html: [<p>Foo bar</p>
<h1>baz</h1>
<p>Bar foo</p>
] matched!
markdown #79: [##⎵ ↵ #↵ ###⎵ ###↵ ]
-- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 2)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Number: 2
+ HEADER_OPEN (line/column: 2/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="### ###", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 3)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Number: 2
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Number: 1
+ HEADER_OPEN (line/column: 3/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Number: 3
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_OPEN, Count: 3)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Number: 2
+ HEADER_OPEN (line/column: 2/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Number: 1
+ HEADER_OPEN (line/column: 3/1)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Number: 3
- * -------------------------------------------- TREE END ---
---- inline to parse: []
---- inline to parse: []
---- inline to parse: []
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo *bar*", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? |
+---> resulting html: [<h2></h2>
<h1></h1>
<h3></h3>
] matched!
markdown #80: [Foo⎵ *bar*↵ =========↵ ↵ Foo⎵ *bar*↵ ---------↵ ]
no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166e10
it on entry: [0x5ca51f166e10]
--- not HTML block? -- it position: 0 -- 0x5ca51f166e10
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f166e10 -- 0x5ca51f166e10 -- 0x5ca51f166e7c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo *bar*"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="=========", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [61]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166e10
it on entry: [0x5ca51f166e10]
--- not HTML block? -- it position: 0 -- 0x5ca51f166e10
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo *bar*"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo *bar*"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f162eb0 --- next 0 --- previous 0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_DOUBLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo *bar*"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_DOUBLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo *bar*"
- Number: 1
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ HEADER_DOUBLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo *bar*"
- Number: 1
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_DOUBLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo *bar*"
- Number: 1
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo *bar*", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166e10
it on entry: [0x5ca51f166e10]
--- not HTML block? -- it position: 0 -- 0x5ca51f166e10
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f166e10 -- 0x5ca51f166e10 -- 0x5ca51f166e7c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_DOUBLE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo *bar*"
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (HEADER_DOUBLE), Parent (DOCUMENT)
- Content: "Foo *bar*"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="---------", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166e10
it on entry: [0x5ca51f166e10]
--- not HTML block? -- it position: 0 -- 0x5ca51f166e10
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_DOUBLE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo *bar*"
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (HEADER_DOUBLE), Parent (DOCUMENT)
- Content: "Foo *bar*"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 5/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (HEADER_DOUBLE), Parent (DOCUMENT)
- Content: "Foo *bar*"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 5/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f162eb0 --- next 0 --- previous 0x5ca51f166d40
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_DOUBLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo *bar*"
- Number: 1
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_DOUBLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo *bar*"
- Number: 1
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166f00
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_DOUBLE, Last: HEADER_SINGLE, Count: 2)
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 2/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo *bar*"
- Number: 1
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 5/1)
- Previous Sibling (HEADER_DOUBLE), Parent (DOCUMENT)
- Content: "Foo *bar*"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_DOUBLE, Last: HEADER_SINGLE, Count: 2)
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 2/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo *bar*"
- Number: 1
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 5/1)
- Previous Sibling (HEADER_DOUBLE), Parent (DOCUMENT)
- Content: "Foo *bar*"
- Number: 2
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo *bar*]
>>> found some mark...
>>> mark could be a left flanking span...
*** remain after 'span': []
---- inline to parse: [Foo *bar*]
>>> found some mark...
>>> mark could be a left flanking span...
*** remain after 'span': []
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo *bar", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f8a0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166d40
|
+---> resulting html: [<h1>Foo <em>bar</em></h1>
<h2>Foo <em>bar</em></h2>
] matched!
markdown #81: [Foo⎵ *bar↵ baz*↵ ====↵ ]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo *bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="baz*", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f870
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [baz*]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo *bar
baz*"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="====", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [61]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo *bar
baz*"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo *bar
baz*"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f166e20 --- next 0 --- previous 0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_DOUBLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "Foo *bar
baz*"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_DOUBLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "Foo *bar
baz*"
- Number: 1
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo *bar
baz*]
>>> found some mark...
>>> mark could be a left flanking span...
*** remain after 'span': []
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" Foo *bar", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: |
+---> resulting html: [<h1>Foo <em>bar
baz</em></h1>
] matched!
markdown #82: [⎵ ⎵ Foo⎵ *bar↵ baz*⇥ ↵ ====↵ ]
2
column: 3 indent 1 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f166d48
it on entry: [0x5ca51f166d48]
--- not HTML block? -- it position: 2 -- 0x5ca51f166d48
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f166d30 -- 0x5ca51f166d48 -- 0x5ca51f166da8
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (DOCUMENT)
- Content: "Foo *bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="baz* ", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166d30
it on entry: [0x5ca51f166d30]
--- not HTML block? -- it position: 0 -- 0x5ca51f166d30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f166d30 -- 0x5ca51f166d30 -- 0x5ca51f166d6c
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [baz* ]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (DOCUMENT)
- Content: "Foo *bar
baz* "
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="====", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [61]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166d30
it on entry: [0x5ca51f166d30]
--- not HTML block? -- it position: 0 -- 0x5ca51f166d30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (DOCUMENT)
- Content: "Foo *bar
baz* "
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 1/3)
- Parent (DOCUMENT)
- Content: "Foo *bar
baz* "
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f166e20 --- next 0 --- previous 0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_DOUBLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "Foo *bar
baz* "
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_DOUBLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "Foo *bar
baz* "
- Number: 1
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo *bar
baz* ]
>>> found some mark...
>>> mark could be a left flanking span...
*** remain after 'span': [ ]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
|
+---> resulting html: [<h1>Foo <em>bar
baz</em></h1>
] matched!
markdown #83: [Foo↵ -------------------------↵ ↵ Foo↵ =↵ ]
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="-------------------------", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f166d40 --- next 0 --- previous 0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161ad4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="=", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [61]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 5/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 5/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f166d40 --- next 0 --- previous 0x5ca51f166e20
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: HEADER_DOUBLE, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (HEADER_DOUBLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 5/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: HEADER_DOUBLE, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (HEADER_DOUBLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 5/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 1
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---- inline to parse: [Foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
working block is a list? no and list_indent is 1 -- it position: 3
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f165204
it on entry: [0x5ca51f165204]
--- not HTML block? -- it position: 3 -- 0x5ca51f165204
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3 |
+---> resulting html: [<h2>Foo</h2>
<h1>Foo</h1>
] matched!
markdown #84: [⎵ ⎵ ⎵ Foo↵ ---↵ ↵ ⎵ ⎵ Foo↵ -----↵ ↵ ⎵ ⎵ Foo↵ ⎵ ⎵ ===↵ ]
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1651e0 -- 0x5ca51f165204 -- 0x5ca51f165228
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 4 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="---", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 1/4)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f166d40 --- next 0 --- previous 0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" Foo", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f1651f8
it on entry: [0x5ca51f1651f8]
--- not HTML block? -- it position: 2 -- 0x5ca51f1651f8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1651e0 -- 0x5ca51f1651f8 -- 0x5ca51f16521c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 3 & 1 & 1
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/3)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="-----", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/3)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 5/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 4/3)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 5/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f166d40 --- next 0 --- previous 0x5ca51f166e20
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: HEADER_SINGLE, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 5/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: HEADER_SINGLE, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 5/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ HEADER_SINGLE (line/column: 5/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: HEADER_SINGLE, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 5/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" Foo", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f1651f8
it on entry: [0x5ca51f1651f8]
--- not HTML block? -- it position: 2 -- 0x5ca51f1651f8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1651e0 -- 0x5ca51f1651f8 -- 0x5ca51f16521c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 3 & 1 & 1
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 5/1)
- Next Sibling (PARAGRAPH), Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 7/3)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ===", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [61]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f1651f8
it on entry: [0x5ca51f1651f8]
--- not HTML block? -- it position: 2 -- 0x5ca51f1651f8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 5/1)
- Next Sibling (PARAGRAPH), Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 7/3)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 8/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 7/3)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 8/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f166d40 --- next 0 --- previous 0x5ca51f162eb0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: HEADER_SINGLE, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 5/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: HEADER_SINGLE, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 5/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f166fe0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: HEADER_DOUBLE, Count: 3)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 5/1)
- Next Sibling (HEADER_DOUBLE), Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 8/3)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: HEADER_DOUBLE, Count: 3)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 5/1)
- Next Sibling (HEADER_DOUBLE), Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 8/3)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Number: 1
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---- inline to parse: [Foo]
---- inline to parse: [Foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
|
+---> resulting html: [<h2>Foo</h2>
<h2>Foo</h2>
<h1>Foo</h1>
] matched!
markdown #85: [⎵ ⎵ ⎵ ⎵ Foo↵ ⎵ ⎵ ⎵ ⎵ ---↵ ↵ ⎵ ⎵ ⎵ ⎵ Foo↵ ---↵ ]
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "Foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ---", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [---
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "Foo
---
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "Foo
---
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "Foo
---
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "Foo
---
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" Foo", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [Foo
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "Foo
---
Foo
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="---", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "Foo
---
Foo
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 5/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo
---
Foo
"
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 5/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo
---
Foo
"
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 5/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
|
+---> resulting html: [<pre><code>Foo
---
Foo
</code></pre>
<hr />
] matched!
markdown #86: [Foo↵ ⎵ ⎵ ⎵ ----⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ↵ ]
+++ checking for containers (list_indent=2147483647, f_last_line=" ---- ", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
working block is a list? no and list_indent is 2147483647 -- it position: 3
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f162ec4
it on entry: [0x5ca51f162ec4]
--- not HTML block? -- it position: 3 -- 0x5ca51f162ec4
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f166d40 --- next 0 --- previous 0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 4 & 1 & no parent
+++ link new? 0x5ca51f166fe0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/4)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/4)
- Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [ |
+---> resulting html: [<h2>Foo</h2>
] matched!
markdown #87: [Foo↵ ⎵ ⎵ ⎵ ⎵ ---↵ ]
70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166fe0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ---", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? no and list_indent is 2147483647 -- it position: 4
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
setup character
create paragraph
add content -- 0x5ca51f1651e0 -- 0x5ca51f165210 -- 0x5ca51f165234
link child
save working child
end paragraph handling
---- early paragraph WITHOUT list sub-block = 5 >= 0 + 4
+++ append to existing block code or paragraph? [---]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
---"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
---"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo
---]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 |
+---> resulting html: [<p>Foo
---</p>
] matched!
markdown #88: [Foo↵ =⎵ =↵ ↵ Foo↵ ---⎵ -↵ ]
-- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="= =", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [61]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [= =]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
= ="
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
= ="
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
= ="
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
= ="
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo
= ="
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="--- -", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo
= ="
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 5/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166fe0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: BREAK_DASH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo
= ="
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Next Sibling (BREAK_DASH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo"
+ BREAK_DASH (line/column: 5/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: BREAK_DASH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo
= ="
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Next Sibling (BREAK_DASH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo"
+ BREAK_DASH (line/column: 5/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo
= =]
---- inline to parse: [Foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo ", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1651e0 -- 0x5ca51f1651e0 -- 0x5ca51f16521c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
|
+---> resulting html: [<p>Foo
= =</p>
<p>Foo</p>
<hr />
] matched!
markdown #89: [Foo⎵ ⎵ ↵ -----↵ ]
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo "
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="-----", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo "
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo "
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f162eb0 --- next 0 --- previous 0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo "
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo "
- Number: 2
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo ]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo\", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0 |
+---> resulting html: [<h2>Foo</h2>
] matched!
markdown #90: [Foo\↵ ----↵ ]
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601c0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo\"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="----", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo\"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo\"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f162eb0 --- next 0 --- previous 0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo\"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "Foo\"
- Number: 2
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo\]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="`Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: |
+---> resulting html: [<h2>Foo\</h2>
] matched!
markdown #91: [`Foo↵ ----↵ `↵ ↵ <a⎵ title="a⎵ lot↵ ---↵ of⎵ dashes"/>↵ ]
0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601c0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "`Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="----", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "`Foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "`Foo"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f162eb0 --- next 0 --- previous 0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "`Foo"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="`", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f16019c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166fe0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "`Foo"
- Number: 2
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "`"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "`Foo"
- Number: 2
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "`"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "`"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "`Foo"
- Number: 2
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "`"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<a title="a lot", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166ef0
it on entry: [0x5ca51f166ef0]
it column 1 vs 1
it after reading name "a": [0x5ca51f166ef0] ... et [0x5ca51f166f08]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- COMPLETE TAG -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 5/1)
- Content: "<a"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 5/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- tag needs to be complete (<a title="a lot)...
---- tag innards state: 0 for [ title="a lot]...
---- tag innards skip blank
---- tag innards state: 0 for [title="a lot]...
---- tag innards found attribute name
---- tag innards state: 1 for [="a lot]...
---- tag innards got '=' before value
---- tag innards state: 3 for ["a lot]...
---- tag innards state: 5 for [a lot]...
---- tag innards state: 5 for [ lot]...
---- tag innards skip blank
---- tag innards state: 5 for [lot]...
---- tag innards state: 5 for [ot]...
---- tag innards state: 5 for [t]...
---- tag innards state: 5 for []...
---- EOL found, tag needs to be complete...
--- not HTML block? -- it position: 0 -- 0x5ca51f166ef0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f166ef0 -- 0x5ca51f166ef0 -- 0x5ca51f166fa4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "`Foo"
- Number: 2
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (PARAGRAPH), Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "`"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<a title="a lot"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="---", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166ef0
it on entry: [0x5ca51f166ef0]
--- not HTML block? -- it position: 0 -- 0x5ca51f166ef0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "`Foo"
- Number: 2
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (PARAGRAPH), Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "`"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<a title="a lot"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 6/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<a title="a lot"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 6/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f162eb0 --- next 0 --- previous 0x5ca51f166fe0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "`Foo"
- Number: 2
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "`"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "`Foo"
- Number: 2
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "`"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: HEADER_SINGLE, Count: 3)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "`Foo"
- Number: 2
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (HEADER_SINGLE), Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "`"
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 6/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<a title="a lot"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="of dashes"/>", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166ef0
it on entry: [0x5ca51f166ef0]
--- not HTML block? -- it position: 0 -- 0x5ca51f166ef0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f166ef0 -- 0x5ca51f166ef0 -- 0x5ca51f166f80
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 4)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "`Foo"
- Number: 2
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (HEADER_SINGLE), Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "`"
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 6/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<a title="a lot"
- Number: 2
+ PARAGRAPH (line/column: 7/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "of dashes"/>"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: PARAGRAPH, Count: 4)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "`Foo"
- Number: 2
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (HEADER_SINGLE), Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "`"
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 6/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<a title="a lot"
- Number: 2
+ PARAGRAPH (line/column: 7/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "of dashes"/>"
- * -------------------------------------------- TREE END ---
---- inline to parse: [`Foo]
---- inline to parse: [`]
---- inline to parse: [<a title="a lot]
---------------- convert HTML tag (inline)
---- tag innards state: 0 for [title="a lot]...
---- tag innards found attribute name
---- tag innards state: 1 for [="a lot]...
---- tag innards got '=' before value
---- tag innards state: 3 for ["a lot]...
---- tag innards state: 5 for [a lot]...
---- tag innards state: 5 for [ lot]...
---- tag innards skip blank
---- tag innards state: 5 for [lot]...
---- tag innards state: 5 for [ot]...
---- tag innards state: 5 for [t]...
---- tag innards state: 5 for []...
---- EOL found, tag needs to be complete...
---- inline to parse: [of dashes"/>]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f1651f8
it on entry: [0x5ca51f1651f8]
--- not HTML block? -- it position: 2 -- 0x5ca51f1651f8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1651e0 -- 0x5ca51f1651f8 -- 0x5ca51f16521c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? |
+---> resulting html: [<h2>`Foo</h2>
<p>`</p>
<h2><a title="a lot</h2>
<p>of dashes"/></p>
] matched!
markdown #92: [>⎵ Foo↵ ---↵ ]
no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="---", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: IN BLOCKQUOTE & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 3
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "Foo"
+ BREAK_DASH (line/column: 2/1)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "Foo"
+ BREAK_DASH (line/column: 2/1)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
|
+---> resulting html: [<blockquote>
<p>Foo</p>
</blockquote>
<hr />
] matched!
markdown #93: [>⎵ foo↵ bar↵ ===↵ ]
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f1651f8
it on entry: [0x5ca51f1651f8]
--- not HTML block? -- it position: 2 -- 0x5ca51f1651f8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1651e0 -- 0x5ca51f1651f8 -- 0x5ca51f16521c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1651e0 -- 0x5ca51f1651e0 -- 0x5ca51f165204
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo
bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="===", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [61]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo
bar"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- WORKING BLOCK END ---
last block: IN BLOCKQUOTE & working block: not in block quote
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1651e0 -- 0x5ca51f1651e0 -- 0x5ca51f165204
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [===]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo
bar
==="
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo
bar
==="
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo
bar
===]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f1651f8
it on entry: [0x5ca51f1651f8]
--- not HTML block? -- it position: 2 -- 0x5ca51f1651f8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
|
+---> resulting html: [<blockquote>
<p>foo
bar
===</p>
</blockquote>
] matched!
markdown #94: [-⎵ Foo↵ ---↵ ]
add content -- 0x5ca51f1651e0 -- 0x5ca51f1651f8 -- 0x5ca51f16521c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="---", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? LIST
columns (w/wp/lp): 1 & 1 & 2
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
+ BREAK_DASH (line/column: 2/1)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
+ BREAK_DASH (line/column: 2/1)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
|
+---> resulting html: [<ul>
<li>Foo</li>
</ul>
<hr />
] matched!
markdown #95: [Foo↵ Bar↵ ---↵ ]
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="Bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [66]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [Bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
Bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="---", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
Bar"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
Bar"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f166fe0 --- next 0 --- previous 0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "Foo
Bar"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "Foo
Bar"
- Number: 2
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo
Bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="---", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="Foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: |
+---> resulting html: [<h2>Foo
Bar</h2>
] matched!
markdown #96: [---↵ Foo↵ ---↵ Bar↵ ---↵ Baz↵ ]
2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
+ PARAGRAPH (line/column: 2/1)
- Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="---", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
+ PARAGRAPH (line/column: 2/1)
- Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 2/1)
- Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f166fe0 --- next 0 --- previous 0x5ca51f161550
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Last: HEADER_SINGLE, Count: 2)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
+ HEADER_SINGLE (line/column: 3/1)
- Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="Bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [66]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
+ HEADER_SINGLE (line/column: 3/1)
- Next Sibling (PARAGRAPH), Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="---", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
+ HEADER_SINGLE (line/column: 3/1)
- Next Sibling (PARAGRAPH), Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Bar"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 5/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Bar"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 5/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f166fe0 --- next 0 --- previous 0x5ca51f166d40
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Last: HEADER_SINGLE, Count: 2)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
+ HEADER_SINGLE (line/column: 3/1)
- Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Last: HEADER_SINGLE, Count: 2)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
+ HEADER_SINGLE (line/column: 3/1)
- Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Last: HEADER_SINGLE, Count: 3)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
+ HEADER_SINGLE (line/column: 3/1)
- Next Sibling (HEADER_SINGLE), Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
+ HEADER_SINGLE (line/column: 5/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Bar"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="Baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [66]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Last: PARAGRAPH, Count: 4)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
+ HEADER_SINGLE (line/column: 3/1)
- Next Sibling (HEADER_SINGLE), Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
+ HEADER_SINGLE (line/column: 5/1)
- Next Sibling (PARAGRAPH), Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Bar"
- Number: 2
+ PARAGRAPH (line/column: 6/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Last: PARAGRAPH, Count: 4)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
+ HEADER_SINGLE (line/column: 3/1)
- Next Sibling (HEADER_SINGLE), Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo"
- Number: 2
+ HEADER_SINGLE (line/column: 5/1)
- Next Sibling (PARAGRAPH), Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Bar"
- Number: 2
+ PARAGRAPH (line/column: 6/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---- inline to parse: [Bar]
---- inline to parse: [Baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="====", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [61]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: |
+---> resulting html: [<hr />
<h2>Foo</h2>
<h2>Bar</h2>
<p>Baz</p>
] matched!
markdown #97: [↵ ====↵ ]
not in block quote & working block: not in block quote
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f450
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "===="
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "===="
- * -------------------------------------------- TREE END ---
---- inline to parse: [====]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="---", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0 |
+---> resulting html: [<p>====</p>
] matched!
markdown #98: [---↵ ---↵ ]
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 1/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="---", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Count: 1)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT)
+ BREAK_DASH (line/column: 2/1)
- Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BREAK_DASH, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 1/1)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT)
+ BREAK_DASH (line/column: 2/1)
- Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
|
+---> resulting html: [<hr />
<hr />
] matched!
markdown #99: [-⎵ foo↵ -----↵ ]
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f1651f8
it on entry: [0x5ca51f1651f8]
--- not HTML block? -- it position: 2 -- 0x5ca51f1651f8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1651e0 -- 0x5ca51f1651f8 -- 0x5ca51f16521c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="-----", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? LIST
columns (w/wp/lp): 1 & 1 & 2
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ BREAK_DASH (line/column: 2/1)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ BREAK_DASH (line/column: 2/1)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: |
+---> resulting html: [<ul>
<li>foo</li>
</ul>
<hr />
] matched!
markdown #100: [⎵ ⎵ ⎵ ⎵ foo↵ ---↵ ]
1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="---", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "foo
"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "foo
"
+ BREAK_DASH (line/column: 2/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "foo
"
+ BREAK_DASH (line/column: 2/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: |
+---> resulting html: [<pre><code>foo
</code></pre>
<hr />
] matched!
markdown #101: [>⎵ foo↵ -----↵ ]
1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f1651f8
it on entry: [0x5ca51f1651f8]
--- not HTML block? -- it position: 2 -- 0x5ca51f1651f8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1651e0 -- 0x5ca51f1651f8 -- 0x5ca51f16521c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="-----", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: IN BLOCKQUOTE & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 3
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
+ BREAK_DASH (line/column: 2/1)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
+ BREAK_DASH (line/column: 2/1)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="\> foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: |
+---> resulting html: [<blockquote>
<p>foo</p>
</blockquote>
<hr />
] matched!
markdown #102: [\>⎵ foo↵ ------↵ ]
1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [92]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1651e0 -- 0x5ca51f1651e0 -- 0x5ca51f165228
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\> foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="------", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\> foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "\> foo"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f166fe0 --- next 0 --- previous 0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "\> foo"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "\> foo"
- Number: 2
- * -------------------------------------------- TREE END ---
---- inline to parse: [\> foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is |
+---> resulting html: [<h2>> foo</h2>
] matched!
markdown #103: [Foo↵ ↵ bar↵ ---↵ baz↵ ]
1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="bar", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="---", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 4/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bar"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 4/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f166fe0 --- next 0 --- previous 0x5ca51f160860
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: HEADER_SINGLE, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bar"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 4/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bar"
- Number: 2
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "Foo"
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 4/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bar"
- Number: 2
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---- inline to parse: [bar]
---- inline to parse: [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
|
+---> resulting html: [<p>Foo</p>
<h2>bar</h2>
<p>baz</p>
] matched!
markdown #104: [Foo↵ bar↵ ↵ ---↵ ↵ baz↵ ]
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
bar"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
bar"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
bar"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="---", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
bar"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 4/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo
bar"
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo
bar"
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ BREAK_DASH (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo
bar"
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="baz", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo
bar"
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 4/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 6/1)
- Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "Foo
bar"
- Block is followed by at least one empty line
+ BREAK_DASH (line/column: 4/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 6/1)
- Previous Sibling (BREAK_DASH), Parent (DOCUMENT)
- Content: "baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo
bar]
---- inline to parse: [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
|
+---> resulting html: [<p>Foo
bar</p>
<hr />
<p>baz</p>
] matched!
markdown #105: [Foo↵ bar↵ *⎵ *⎵ *↵ baz↵ ]
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="* * *", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
bar"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: BREAK_ASTERISK, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- Content: "Foo
bar"
+ BREAK_ASTERISK (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1651e0
it on entry: [0x5ca51f1651e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1651e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1651e0 -- 0x5ca51f1651e0 -- 0x5ca51f165204
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- Content: "Foo
bar"
+ BREAK_ASTERISK (line/column: 3/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- Content: "Foo
bar"
+ BREAK_ASTERISK (line/column: 3/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT)
- Content: "baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo
bar]
---- inline to parse: [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161550
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
|
+---> resulting html: [<p>Foo
bar</p>
<hr />
<p>baz</p>
] matched!
markdown #106: [Foo↵ bar↵ \---↵ baz↵ ]
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="\---", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [92]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f450
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [\---]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
bar
\---"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
bar
\---
baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
bar
\---
baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo
bar
\---
baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" a simple", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
|
+---> resulting html: [<p>Foo
bar
---
baz</p>
] matched!
markdown #107: [⎵ ⎵ ⎵ ⎵ a⎵ simple↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ indented⎵ code⎵ block↵ ]
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "a simple
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" indented code block", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [ indented code block
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "a simple
indented code block
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "a simple
indented code block
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" - foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1 |
+---> resulting html: [<pre><code>a simple
indented code block
</code></pre>
] matched!
markdown #108: [⎵ ⎵ -⎵ foo↵ ↵ ⎵ ⎵ ⎵ ⎵ bar↵ ]
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 5 indent 1 -- it position: 4
+++ gap so far 0 blanks, working column: 4, it column 5, list indent: 1 -- it position: 4
working block is a list? YES and list_indent is 1 -- it position: 4
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 5 & 3 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/3-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/3-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/3-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line=" bar", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 5 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 5 -- it position: 1
column: 2 indent 5 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 5 -- it position: 2
column: 3 indent 5 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 5 -- it position: 3
column: 4 indent 5 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
column: 5 indent 5 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
working block is a list? no and list_indent is 5 -- it position: 4
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 5 -- it position: 4
then compare 5 vs list_indent + 4 = 9 -- it position: 4
+++ this is a list item followed by this additional paragraph: 5 or 5 >= 5 blanks! (working column: 1 -- it position: 4)
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 5)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/3-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/3-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="1. foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 4 indent 1 -- it position: 3
+++ gap so far 1 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
column: 5 indent 1 -- it position: 4
+++ gap so far 1 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
working block is a list? YES and list_indent is 1 -- it position: 4
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
|
+---> resulting html: [<ul>
<li>
<p>foo</p>
<p>bar</p>
</li>
</ul>
] matched!
markdown #109: [1.⎵ ⎵ foo↵ ↵ ⎵ ⎵ ⎵ ⎵ -⎵ bar↵ ]
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PERIOD)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PERIOD)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PERIOD)
- Content: "foo"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PERIOD)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line=" - bar", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 5 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 5 -- it position: 1
column: 2 indent 5 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 5 -- it position: 2
column: 3 indent 5 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 5 -- it position: 3
column: 4 indent 5 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
column: 5 indent 5 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
working block is a list? no and list_indent is 5 -- it position: 4
>> parse for list [45]...
>> list computed gap 5 vs first child 5
>> list type [45]...
+++ found a list...
column: 7 indent 5 -- it position: 6
+++ gap so far 0 blanks, working column: 6, it column 7, list indent: 5 -- it position: 6
working block is a list? YES and list_indent is 5 -- it position: 6
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 5 -- it position: 6
then compare 7 vs list_indent + 4 = 9 -- it position: 6
+++ this is a list item followed by this additional paragraph: 7 or 7 >= 5 blanks! (working column: 6 -- it position: 6)
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f161588
it on entry: [0x5ca51f161588]
--- not HTML block? -- it position: 6 -- 0x5ca51f161588
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161540 -- 0x5ca51f161588 -- 0x5ca51f1615ac
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 5)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (LIST_DASH), Parent (LIST_PERIOD)
- Content: "foo"
+ LIST_DASH (line/column: 3/5-6)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/7)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (LIST_DASH), Parent (LIST_PERIOD)
- Content: "foo"
+ LIST_DASH (line/column: 3/5-6)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/7)
- Parent (LIST_DASH)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" <a/>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
|
+---> resulting html: [<ol>
<li>
<p>foo</p>
<ul>
<li>bar</li>
</ul>
</li>
</ol>
] matched!
markdown #110: [⎵ ⎵ ⎵ ⎵ <a/>↵ ⎵ ⎵ ⎵ ⎵ *hi*↵ ↵ ⎵ ⎵ ⎵ ⎵ -⎵ one↵ ]
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "<a/>
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" *hi*", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [*hi*
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "<a/>
*hi*
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "<a/>
*hi*
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "<a/>
*hi*
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "<a/>
*hi*
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" - one", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [- one
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "<a/>
*hi*
- one
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "<a/>
*hi*
- one
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" chunk1", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: |
+---> resulting html: [<pre><code><a/>
*hi*
- one
</code></pre>
] matched!
markdown #111: [⎵ ⎵ ⎵ ⎵ chunk1↵ ↵ ⎵ ⎵ ⎵ ⎵ chunk2↵ ⎵ ⎵ ↵ ⎵ ↵ ⎵ ↵ ⎵ ⎵ ⎵ ⎵ chunk3↵ ]
1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" chunk2", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [chunk2
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
chunk2
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far -1 blanks, working column: 1, it column 0, list indent: 1 -- it position: 2
any containers (other than line)? -- it position: 2
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
chunk2
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
chunk2
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
chunk2
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far -1 blanks, working column: 1, it column 0, list indent: 1 -- it position: 1
any containers (other than line)? -- it position: 1
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
chunk2
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
chunk2
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
chunk2
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far -1 blanks, working column: 1, it column 0, list indent: 1 -- it position: 1
any containers (other than line)? -- it position: 1
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
chunk2
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
chunk2
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
chunk2
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" chunk3", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [chunk3
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
chunk2
chunk3
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
chunk2
chunk3
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" chunk1", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f166fe0
|
+---> resulting html: [<pre><code>chunk1
chunk2
chunk3
</code></pre>
] matched!
markdown #112: [⎵ ⎵ ⎵ ⎵ chunk1↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ chunk2↵ ]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" chunk2", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [ chunk2
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
chunk2
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "chunk1
chunk2
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = |
+---> resulting html: [<pre><code>chunk1
chunk2
</code></pre>
] matched!
markdown #113: [Foo↵ ⎵ ⎵ ⎵ ⎵ bar↵ ↵ ]
1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166fe0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? no and list_indent is 2147483647 -- it position: 4
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15ef10 -- 0x5ca51f15ef34
link child
save working child
end paragraph handling
---- early paragraph WITHOUT list sub-block = 5 >= 0 + 4
+++ append to existing block code or paragraph? [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
bar"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
bar"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
bar"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
bar"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo
bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far |
+---> resulting html: [<p>Foo
bar</p>
] matched!
markdown #114: [⎵ ⎵ ⎵ ⎵ foo↵ bar↵ ]
2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eee0 -- 0x5ca51f15ef04
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166fe0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "foo
"
+ PARAGRAPH (line/column: 2/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "foo
"
+ PARAGRAPH (line/column: 2/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="# Heading", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
|
+---> resulting html: [<pre><code>foo
</code></pre>
<p>bar</p>
] matched!
markdown #115: [#⎵ Heading↵ ⎵ ⎵ ⎵ ⎵ foo↵ Heading↵ ------↵ ⎵ ⎵ ⎵ ⎵ foo↵ ----↵ ]
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166fd0
it on entry: [0x5ca51f166fd0]
--- not HTML block? -- it position: 0 -- 0x5ca51f166fd0
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Heading"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 5 & 1 & 1
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 2/5)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="Heading", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [72]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166fd0
it on entry: [0x5ca51f166fd0]
--- not HTML block? -- it position: 0 -- 0x5ca51f166fd0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f166fd0 -- 0x5ca51f166fd0 -- 0x5ca51f167024
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 2/5)
- Next Sibling (PARAGRAPH), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo
"
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="------", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166fd0
it on entry: [0x5ca51f166fd0]
--- not HTML block? -- it position: 0 -- 0x5ca51f166fd0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 2/5)
- Next Sibling (PARAGRAPH), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo
"
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 4/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 4/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f162f90 --- next 0 --- previous 0x5ca51f166d40
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 2/5)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo
"
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 2/5)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo
"
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: HEADER_SINGLE, Count: 3)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 2/5)
- Next Sibling (HEADER_SINGLE), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo
"
+ HEADER_SINGLE (line/column: 4/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 5 & 1 & 1
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: CODE_BLOCK_INDENTED, Count: 4)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 2/5)
- Next Sibling (HEADER_SINGLE), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo
"
+ HEADER_SINGLE (line/column: 4/1)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- Number: 2
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="----", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166fd0
it on entry: [0x5ca51f166fd0]
--- not HTML block? -- it position: 0 -- 0x5ca51f166fd0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: CODE_BLOCK_INDENTED, Count: 4)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 2/5)
- Next Sibling (HEADER_SINGLE), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo
"
+ HEADER_SINGLE (line/column: 4/1)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- Number: 2
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "foo
"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 6/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: BREAK_DASH, Count: 5)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 2/5)
- Next Sibling (HEADER_SINGLE), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo
"
+ HEADER_SINGLE (line/column: 4/1)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- Number: 2
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Next Sibling (BREAK_DASH), Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "foo
"
+ BREAK_DASH (line/column: 6/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: BREAK_DASH, Count: 5)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 2/5)
- Next Sibling (HEADER_SINGLE), Previous Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "foo
"
+ HEADER_SINGLE (line/column: 4/1)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "Heading"
- Number: 2
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Next Sibling (BREAK_DASH), Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "foo
"
+ BREAK_DASH (line/column: 6/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---- inline to parse: [Heading]
---- inline to parse: [Heading]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & |
+---> resulting html: [<h1>Heading</h1>
<pre><code>foo
</code></pre>
<h2>Heading</h2>
<pre><code>foo
</code></pre>
<hr />
] matched!
markdown #116: [⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ foo↵ ⎵ ⎵ ⎵ ⎵ bar↵ ]
1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: " foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [bar
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: " foo
bar
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: " foo
bar
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
|
+---> resulting html: [<pre><code> foo
bar
</code></pre>
] matched!
markdown #117: [↵ ⎵ ⎵ ⎵ ⎵ ↵ ⎵ ⎵ ⎵ ⎵ foo↵ ⎵ ⎵ ⎵ ⎵ ↵ ↵ ]
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far -1 blanks, working column: 1, it column 0, list indent: 1 -- it position: 4
any containers (other than line)? -- it position: 4
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 3/5)
- Parent (DOCUMENT)
- Content: "foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far -1 blanks, working column: 1, it column 0, list indent: 2147483647 -- it position: 4
any containers (other than line)? -- it position: 4
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 3/5)
- Parent (DOCUMENT)
- Content: "foo
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 3/5)
- Parent (DOCUMENT)
- Content: "foo
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 3/5)
- Parent (DOCUMENT)
- Content: "foo
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 3/5)
- Parent (DOCUMENT)
- Content: "foo
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 3/5)
- Parent (DOCUMENT)
- Content: "foo
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 3/5)
- Parent (DOCUMENT)
- Content: "foo
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 3/5)
- Parent (DOCUMENT)
- Content: "foo
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" foo ", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: |
+---> resulting html: [<pre><code>foo
</code></pre>
] matched!
markdown #118: [⎵ ⎵ ⎵ ⎵ foo⎵ ⎵ ↵ ]
1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "foo
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 |
+---> resulting html: [<pre><code>foo
</code></pre>
] matched!
markdown #119: [```↵ <↵ ⎵ >↵ ```↵ ]
-- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line [<]
--- check indent: 1 vs 1
--- add: <
--- got next line [ >]
--- check indent: 1 vs 1
--- add: >
--- got next line [```]
--- check indent: 1 vs 1
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<
>
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<
>
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="~~~", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
|
+---> resulting html: [<pre><code><
>
</code></pre>
] matched!
markdown #120: [~~~↵ <↵ ⎵ >↵ ~~~↵ ]
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [126]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line [<]
--- check indent: 1 vs 1
--- add: <
--- got next line [ >]
--- check indent: 1 vs 1
--- add: >
--- got next line [~~~]
--- check indent: 1 vs 1
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_TILDE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_TILDE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<
>
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_TILDE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_TILDE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<
>
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="``", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: |
+---> resulting html: [<pre><code><
>
</code></pre>
] matched!
markdown #121: [``↵ foo↵ ``↵ ]
0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f8e0
it on entry: [0x5ca51f15f8e0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f8e0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f8e0 -- 0x5ca51f15f8e0 -- 0x5ca51f15f8f8
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "``"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "``
foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="``", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f438
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [``]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "``
foo
``"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "``
foo
``"
- * -------------------------------------------- TREE END ---
---- inline to parse: [``
foo
``]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line [aaa]
--- check indent: 1 vs 1
--- end count: 0
--- add: aaa
--- got next line [~~~]
--- check indent: 1 vs 1
--- end count: 0
--- add: ~~~
--- got next line [```]
--- check indent: 1 vs 1
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
|
+---> resulting html: [<p><code>foo</code></p>
] matched!
markdown #122: [```↵ aaa↵ ~~~↵ ```↵ ]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
~~~
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
~~~
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="~~~", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
|
+---> resulting html: [<pre><code>aaa
~~~
</code></pre>
] matched!
markdown #123: [~~~↵ aaa↵ ```↵ ~~~↵ ]
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [126]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line [aaa]
--- check indent: 1 vs 1
--- end count: 0
--- add: aaa
--- got next line [```]
--- check indent: 1 vs 1
--- end count: 0
--- add: ```
--- got next line [~~~]
--- check indent: 1 vs 1
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_TILDE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_TILDE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
```
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_TILDE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_TILDE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
```
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="````", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: |
+---> resulting html: [<pre><code>aaa
```
</code></pre>
] matched!
markdown #124: [````↵ aaa↵ ```↵ ``````↵ ]
0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line [aaa]
--- check indent: 1 vs 1
--- add: aaa
--- got next line [```]
--- check indent: 1 vs 1
--- add: ```
--- got next line [``````]
--- check indent: 1 vs 1
--- end count: 6
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
```
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
```
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="~~~~", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1 |
+---> resulting html: [<pre><code>aaa
```
</code></pre>
] matched!
markdown #125: [~~~~↵ aaa↵ ~~~↵ ~~~~↵ ]
, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [126]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line [aaa]
--- check indent: 1 vs 1
--- add: aaa
--- got next line [~~~]
--- check indent: 1 vs 1
--- add: ~~~
--- got next line [~~~~]
--- check indent: 1 vs 1
--- end count: 4
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_TILDE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_TILDE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
~~~
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_TILDE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_TILDE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
~~~
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is |
+---> resulting html: [<pre><code>aaa
~~~
</code></pre>
] matched!
markdown #126: [```↵ ]
1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line []
--- found eof?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="`````", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent |
+---> resulting html: [<pre><code></code></pre>
] matched!
markdown #127: [`````↵ ↵ ```↵ aaa↵ ]
1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line []
--- what about an empty line?
--- check indent: 0 vs 1
--- add:
--- got next line [```]
--- check indent: 1 vs 1
--- add: ```
--- got next line [aaa]
--- check indent: 1 vs 1
--- add: aaa
--- got next line []
--- found eof?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "
```
aaa
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "
```
aaa
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> ```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0 |
+---> resulting html: [<pre><code>
```
aaa
</code></pre>
] matched!
markdown #128: [>⎵ ```↵ >⎵ aaa↵ ↵ bbb↵ ]
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- adding info string [] -- indentation: 3
--- got next line [> aaa]
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> aaa", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
--- check indent: 3 vs 3
--- end count: 0
--- add: aaa
--- got next line []
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Number: 1
+ CODE_BLOCK_GRAVE (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "aaa
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "aaa
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_GRAVE (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "aaa
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "aaa
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="bbb", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eee0 -- 0x5ca51f15ef04
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 3
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "aaa
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "bbb"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "aaa
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "bbb"
- * -------------------------------------------- TREE END ---
---- inline to parse: [bbb]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line []
--- what about an empty line?
--- check indent: 0 vs 1
--- add:
--- got next line [ ]
--- check indent: 1 vs 1
--- add:
--- got next line [```]
--- check indent: 1 vs 1
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & |
+---> resulting html: [<blockquote>
<pre><code>aaa
</code></pre>
</blockquote>
<p>bbb</p>
] matched!
markdown #129: [```↵ ↵ ⎵ ⎵ ↵ ```↵ ]
1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
|
+---> resulting html: [<pre><code>
</code></pre>
] matched!
markdown #130: [```↵ ```↵ ]
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line [```]
--- check indent: 1 vs 1
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 |
+---> resulting html: [<pre><code></code></pre>
] matched!
markdown #131: [⎵ ```↵ ⎵ aaa↵ aaa↵ ```↵ ]
-- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
working block is a list? no and list_indent is 1 -- it position: 1
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 1
+++ not a list or blockquote? -- it position: 1
any containers (other than line)? -- it position: 1
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- adding info string [] -- indentation: 2
--- got next line [ aaa]
--- check indent: 1 vs 2
--- end count: 0
--- add: aaa
--- got next line [aaa]
--- check indent: 1 vs 2
--- end count: 0
--- add: aaa
--- got next line [```]
--- check indent: 1 vs 2
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 2 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/2)
- Parent (DOCUMENT)
- Content: "aaa
aaa
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/2)
- Parent (DOCUMENT)
- Content: "aaa
aaa
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: |
+---> resulting html: [<pre><code>aaa
aaa
</code></pre>
] matched!
markdown #132: [⎵ ⎵ ```↵ aaa↵ ⎵ ⎵ aaa↵ aaa↵ ⎵ ⎵ ```↵ ]
1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- adding info string [] -- indentation: 3
--- got next line [aaa]
--- check indent: 1 vs 3
--- end count: 0
--- add: aaa
--- got next line [ aaa]
--- check indent: 1 vs 3
--- end count: 0
--- add: aaa
--- got next line [aaa]
--- check indent: 1 vs 3
--- end count: 0
--- add: aaa
--- got next line [ ```]
--- check indent: 1 vs 3
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/3)
- Parent (DOCUMENT)
- Content: "aaa
aaa
aaa
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/3)
- Parent (DOCUMENT)
- Content: "aaa
aaa
aaa
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
|
+---> resulting html: [<pre><code>aaa
aaa
aaa
</code></pre>
] matched!
markdown #133: [⎵ ⎵ ⎵ ```↵ ⎵ ⎵ ⎵ aaa↵ ⎵ ⎵ ⎵ ⎵ aaa↵ ⎵ ⎵ aaa↵ ⎵ ⎵ ⎵ ```↵ ]
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
working block is a list? no and list_indent is 1 -- it position: 3
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- adding info string [] -- indentation: 4
--- got next line [ aaa]
--- check indent: 1 vs 4
--- end count: 0
--- add: aaa
--- got next line [ aaa]
--- check indent: 1 vs 4
--- end count: 0
--- add: aaa
--- got next line [ aaa]
--- check indent: 1 vs 4
--- end count: 0
--- add: aaa
--- got next line [ ```]
--- check indent: 1 vs 4
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 4 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/4)
- Parent (DOCUMENT)
- Content: "aaa
aaa
aaa
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/4)
- Parent (DOCUMENT)
- Content: "aaa
aaa
aaa
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 |
+---> resulting html: [<pre><code>aaa
aaa
aaa
</code></pre>
] matched!
markdown #134: [⎵ ⎵ ⎵ ⎵ ```↵ ⎵ ⎵ ⎵ ⎵ aaa↵ ⎵ ⎵ ⎵ ⎵ ```↵ ]
-- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "```
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" aaa", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [aaa
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "```
aaa
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ```", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [```
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "```
aaa
```
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "```
aaa
```
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line [aaa]
--- check indent: 1 vs 1
--- end count: 0
--- add: aaa
--- got next line [ ```]
--- check indent: 1 vs 1
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS |
+---> resulting html: [<pre><code>```
aaa
```
</code></pre>
] matched!
markdown #135: [```↵ aaa↵ ⎵ ⎵ ```↵ ]
)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent |
+---> resulting html: [<pre><code>aaa
</code></pre>
] matched!
markdown #136: [⎵ ⎵ ⎵ ```↵ aaa↵ ⎵ ⎵ ```↵ ]
1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
working block is a list? no and list_indent is 1 -- it position: 3
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- adding info string [] -- indentation: 4
--- got next line [aaa]
--- check indent: 1 vs 4
--- end count: 0
--- add: aaa
--- got next line [ ```]
--- check indent: 1 vs 4
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 4 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/4)
- Parent (DOCUMENT)
- Content: "aaa
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/4)
- Parent (DOCUMENT)
- Content: "aaa
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 |
+---> resulting html: [<pre><code>aaa
</code></pre>
] matched!
markdown #137: [```↵ aaa↵ ⎵ ⎵ ⎵ ⎵ ```↵ ]
blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line [aaa]
--- check indent: 1 vs 1
--- end count: 0
--- add: aaa
--- got next line [ ```]
--- check indent: 1 vs 1
--- add: ```
--- got next line []
--- found eof?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
```
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
```
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="``` ```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
|
+---> resulting html: [<pre><code>aaa
```
</code></pre>
] matched!
markdown #138: [```⎵ ```↵ aaa↵ ]
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eee0 -- 0x5ca51f15ef34
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "``` ```"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="aaa", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eee0 -- 0x5ca51f15ef04
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [aaa]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "``` ```
aaa"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "``` ```
aaa"
- * -------------------------------------------- TREE END ---
---- inline to parse: [``` ```
aaa]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="~~~~~~", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: |
+---> resulting html: [<p><code> </code>
aaa</p>
] matched!
markdown #139: [~~~~~~↵ aaa↵ ~~~⎵ ~~↵ ]
1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [126]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line [aaa]
--- check indent: 1 vs 1
--- add: aaa
--- got next line [~~~ ~~]
--- check indent: 1 vs 1
--- end count: 3
--- add: ~~~ ~~
--- got next line []
--- found eof?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_TILDE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_TILDE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
~~~ ~~
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_TILDE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_TILDE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
~~~ ~~
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1 |
+---> resulting html: [<pre><code>aaa
~~~ ~~
</code></pre>
] matched!
markdown #140: [foo↵ ```↵ bar↵ ```↵ baz↵ ]
, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="```", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line [bar]
--- check indent: 1 vs 1
--- end count: 0
--- add: bar
--- got next line [```]
--- check indent: 1 vs 1
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: CODE_BLOCK_GRAVE, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (CODE_BLOCK_GRAVE), Parent (DOCUMENT)
- Content: "foo"
+ CODE_BLOCK_GRAVE (line/column: 2/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bar
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (CODE_BLOCK_GRAVE), Parent (DOCUMENT)
- Content: "foo"
+ CODE_BLOCK_GRAVE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bar
"
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (CODE_BLOCK_GRAVE), Parent (DOCUMENT)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (CODE_BLOCK_GRAVE), Parent (DOCUMENT)
- Content: "foo"
+ CODE_BLOCK_GRAVE (line/column: 2/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bar
"
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (CODE_BLOCK_GRAVE), Parent (DOCUMENT)
- Content: "baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: |
+---> resulting html: [<p>foo</p>
<pre><code>bar
</code></pre>
<p>baz</p>
] matched!
markdown #141: [foo↵ ---↵ ~~~↵ bar↵ ~~~↵ #⎵ baz↵ ]
1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f420 -- 0x5ca51f15f420 -- 0x5ca51f15f444
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="---", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f420
it on entry: [0x5ca51f15f420]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f420
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f166f00 --- next 0 --- previous 0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "foo"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="~~~", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [126]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line [bar]
--- check indent: 1 vs 1
--- end count: 0
--- add: bar
--- got next line [~~~]
--- check indent: 1 vs 1
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: CODE_BLOCK_TILDE, Count: 2)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (CODE_BLOCK_TILDE), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
+ CODE_BLOCK_TILDE (line/column: 3/1)
- Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "bar
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="# baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: HEADER_OPEN, Count: 3)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (CODE_BLOCK_TILDE), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
+ CODE_BLOCK_TILDE (line/column: 3/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "bar
"
+ HEADER_OPEN (line/column: 6/1)
- Previous Sibling (CODE_BLOCK_TILDE), Parent (DOCUMENT)
- Content: "baz"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_SINGLE, Last: HEADER_OPEN, Count: 3)
- Block is followed by at least one empty line
+ HEADER_SINGLE (line/column: 2/1)
- Next Sibling (CODE_BLOCK_TILDE), Parent (DOCUMENT)
- Content: "foo"
- Number: 2
+ CODE_BLOCK_TILDE (line/column: 3/1)
- Next Sibling (HEADER_OPEN), Previous Sibling (HEADER_SINGLE), Parent (DOCUMENT)
- Content: "bar
"
+ HEADER_OPEN (line/column: 6/1)
- Previous Sibling (CODE_BLOCK_TILDE), Parent (DOCUMENT)
- Content: "baz"
- Number: 1
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="```ruby", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far |
+---> resulting html: [<h2>foo</h2>
<pre><code>bar
</code></pre>
<h1>baz</h1>
] matched!
markdown #142: [```ruby↵ def⎵ foo(x)↵ ⎵ ⎵ return⎵ 3↵ end↵ ```↵ ]
0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [ruby] -- indentation: 1
--- got next line [def foo(x)]
--- check indent: 1 vs 1
--- end count: 0
--- add: def foo(x)
--- got next line [ return 3]
--- check indent: 1 vs 1
--- end count: 0
--- add: return 3
--- got next line [end]
--- check indent: 1 vs 1
--- end count: 0
--- add: end
--- got next line [```]
--- check indent: 1 vs 1
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "def foo(x)
return 3
end
"
- String Info: "ruby"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "def foo(x)
return 3
end
"
- String Info: "ruby"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="~~~~ ruby startli |
+---> resulting html: [<pre><code class="language-ruby">def foo(x)
return 3
end
</code></pre>
] matched!
markdown #143: [~~~~⎵ ⎵ ⎵ ⎵ ruby⎵ startline=3⎵ $%@#$↵ def⎵ foo(x)↵ ⎵ ⎵ return⎵ 3↵ end↵ ~~~~~~~↵ ]
ne=3 $%@#$", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [126]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [ruby startline=3 $%@#$] -- indentation: 1
--- got next line [def foo(x)]
--- check indent: 1 vs 1
--- end count: 0
--- add: def foo(x)
--- got next line [ return 3]
--- check indent: 1 vs 1
--- end count: 0
--- add: return 3
--- got next line [end]
--- check indent: 1 vs 1
--- add: end
--- got next line [~~~~~~~]
--- check indent: 1 vs 1
--- end count: 7
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_TILDE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_TILDE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "def foo(x)
return 3
end
"
- String Info: "ruby startline=3 $%@#$"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_TILDE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_TILDE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "def foo(x)
return 3
end
"
- String Info: "ruby startline=3 $%@#$"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="````;", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1 |
+---> resulting html: [<pre><code class="language-ruby">def foo(x)
return 3
end
</code></pre>
] matched!
markdown #144: [````;↵ ````↵ ]
, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [;] -- indentation: 1
--- got next line [````]
--- check indent: 1 vs 1
--- end count: 4
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- String Info: ";"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- String Info: ";"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="``` aa ```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far |
+---> resulting html: [<pre><code class="language-;"></code></pre>
] matched!
markdown #145: [```⎵ aa⎵ ```↵ foo↵ ]
0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166ef0
it on entry: [0x5ca51f166ef0]
--- not HTML block? -- it position: 0 -- 0x5ca51f166ef0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f166ef0 -- 0x5ca51f166ef0 -- 0x5ca51f166f68
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166e20
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "``` aa ```"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166ef0
it on entry: [0x5ca51f166ef0]
--- not HTML block? -- it position: 0 -- 0x5ca51f166ef0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f166ef0 -- 0x5ca51f166ef0 -- 0x5ca51f166f14
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "``` aa ```
foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "``` aa ```
foo"
- * -------------------------------------------- TREE END ---
---- inline to parse: [``` aa ```
foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="~~~ aa ``` ~~~", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent |
+---> resulting html: [<p><code>aa</code>
foo</p>
] matched!
markdown #146: [~~~⎵ aa⎵ ```⎵ ~~~↵ foo↵ ~~~↵ ]
1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [126]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [aa ] -- indentation: 1
--- got next line [foo]
--- check indent: 1 vs 1
--- end count: 0
--- add: foo
--- got next line [~~~]
--- check indent: 1 vs 1
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_TILDE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_TILDE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo
"
- String Info: "aa "
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_TILDE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_TILDE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo
"
- String Info: "aa "
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: |
+---> resulting html: [<pre><code class="language-aa">foo
</code></pre>
] matched!
markdown #147: [```↵ ```⎵ aaa↵ ```↵ ]
1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line [``` aaa]
--- check indent: 1 vs 1
--- end count: 3
--- add: ``` aaa
--- got next line [```]
--- check indent: 1 vs 1
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "``` aaa
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "``` aaa
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<table><tr><td>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES |
+---> resulting html: [<pre><code>``` aaa
</code></pre>
] matched!
markdown #148: [<table><tr><td>↵ <pre>↵ **Hello**,↵ ↵ _world_.↵ </pre>↵ </td></tr></table>↵ ]
)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166d30
it on entry: [0x5ca51f166d30]
it column 1 vs 1
it after reading name "table": [0x5ca51f166d30] ... et [0x5ca51f166d78]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<table>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<table><tr><td>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<table><tr><td>
<pre>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<table><tr><td>
<pre>
**Hello**,
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166f00
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<table><tr><td>
<pre>
**Hello**,
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="_world_.", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [95]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166d30
it on entry: [0x5ca51f166d30]
--- not HTML block? -- it position: 0 -- 0x5ca51f166d30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f166d30 -- 0x5ca51f166d30 -- 0x5ca51f166d90
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<table><tr><td>
<pre>
**Hello**,
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "_world_."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="</pre>", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166d30
it on entry: [0x5ca51f166d30]
it column 1 vs 1
it after reading name "pre": [0x5ca51f166d30] ... et [0x5ca51f166d6c]
--- not HTML block? -- it position: 0 -- 0x5ca51f166d30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f166d30 -- 0x5ca51f166d30 -- 0x5ca51f166d78
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [</pre>]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<table><tr><td>
<pre>
**Hello**,
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "_world_.
</pre>"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="</td></tr></table>", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
it column 1 vs 1
it after reading name "td": [0x5ca51f161ab0] ... et [0x5ca51f161ae0]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 7/1)
- Content: "</td>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 7/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 7/1)
- Content: "</td></tr></table>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 3)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<table><tr><td>
<pre>
**Hello**,
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "_world_.
</pre>"
+ TAG (line/column: 7/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "</td></tr></table>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 3)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<table><tr><td>
<pre>
**Hello**,
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "_world_.
</pre>"
+ TAG (line/column: 7/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "</td></tr></table>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---- inline to parse: [_world_.
</pre>]
>>> found some mark...
>>> mark could be a left flanking span...
*** remain after 'span': [.
</pre>]
---------------- convert HTML tag (inline)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<table>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "table": [0x5ca51f15f840] ... et [0x5ca51f15f888]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<table>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<table>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
|
+---> resulting html: [<table><tr><td>
<pre>
**Hello**,
<p><em>world</em>.
</pre></p>
</td></tr></table>
] matched!
markdown #149: [<table>↵ ⎵ ⎵ <tr>↵ ⎵ ⎵ ⎵ ⎵ <td>↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ hi↵ ⎵ ⎵ ⎵ ⎵ </td>↵ ⎵ ⎵ </tr>↵ </table>↵ ↵ okay.↵ ]
+ TAG (line/column: 1/1)
- Content: "<table>
<tr>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<table>
<tr>
<td>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<table>
<tr>
<td>
hi
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<table>
<tr>
<td>
hi
</td>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<table>
<tr>
<td>
hi
</td>
</tr>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<table>
<tr>
<td>
hi
</td>
</tr>
< [...]"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<table>
<tr>
<td>
hi
</td>
</tr> [...]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="okay.", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15fd30
it on entry: [0x5ca51f15fd30]
--- not HTML block? -- it position: 0 -- 0x5ca51f15fd30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15fd30 -- 0x5ca51f15fd30 -- 0x5ca51f15fd6c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<table>
<tr>
<td>
hi
</td>
</tr> [...]"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 9/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "okay."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<table>
<tr>
<td>
hi
</td>
</tr> [...]"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 9/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "okay."
- * -------------------------------------------- TREE END ---
---- inline to parse: [okay.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" <div>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
working block is a list? no and list_indent is 1 -- it position: 1
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 1
+++ not a list or blockquote? -- it position: 1
any containers (other than line)? -- it position: 1
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f15eeec
it on entry: [0x5ca51f15eeec]
it column 2 vs 1
it after reading name "div": [0x5ca51f15eeec] ... et [0x5ca51f15ef1c]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 2
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/2)
- Content: " <div>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
|
+---> resulting html: [<table>
<tr>
<td>
hi
</td>
</tr>
</table>
<p>okay.</p>
] matched!
markdown #150: [⎵ <div>↵ ⎵ ⎵ *hello*↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ <foo><a>↵ ]
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/2)
- Content: " <div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/2)
- Content: " <div>
*hello*
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/2)
- Content: " <div>
*hello*
<foo><a>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 2 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/2)
- Parent (DOCUMENT)
- Content: " <div>
*hello*
<foo><a>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/2)
- Parent (DOCUMENT)
- Content: " <div>
*hello*
<foo><a>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="</div>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60 |
+---> resulting html: [ <div>
*hello*
<foo><a>
] matched!
markdown #151: [</div>↵ *foo*↵ ]
]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
it column 1 vs 1
it after reading name "div": [0x5ca51f15eee0] ... et [0x5ca51f15ef1c]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "</div>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "</div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "</div>
*foo*
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "</div>
*foo*
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "</div>
*foo*
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<DIV CLASS="foo">", list?=(no parent), f_working_block->end_column()=1, has empty line? YES |
+---> resulting html: [</div>
*foo*
] matched!
markdown #152: [<DIV⎵ CLASS="foo">↵ ↵ *Markdown*↵ ↵ </DIV>↵ ]
)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
it column 1 vs 1
it after reading name "div": [0x5ca51f161ab0] ... et [0x5ca51f161ae0]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<DIV"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<DIV CLASS="foo">
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<DIV CLASS="foo">
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="*Markdown*", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [42]...
>> list type [42]...
>> list blank missing [77]...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161b28
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<DIV CLASS="foo">
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*Markdown*"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<DIV CLASS="foo">
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*Markdown*"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*Markdown*"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<DIV CLASS="foo">
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*Markdown*"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="</DIV>", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
it column 1 vs 1
it after reading name "div": [0x5ca51f161ab0] ... et [0x5ca51f161aec]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 5/1)
- Content: "</DIV>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 5/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 5/1)
- Content: "</DIV>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 3)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<DIV CLASS="foo">
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*Markdown*"
- Block is followed by at least one empty line
+ TAG (line/column: 5/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "</DIV>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 3)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<DIV CLASS="foo">
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*Markdown*"
- Block is followed by at least one empty line
+ TAG (line/column: 5/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "</DIV>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---- inline to parse: [*Markdown*]
>>> found some mark...
>>> mark could be a left flanking span...
*** remain after 'span': []
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<div id="foo"", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166d30
it on entry: [0x5ca51f166d30]
it column 1 vs 1
it after reading name "div": [0x5ca51f166d30] ... et [0x5ca51f166d60]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<div"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div id="foo"
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
|
+---> resulting html: [<DIV CLASS="foo">
<p><em>Markdown</em></p>
</DIV>
] matched!
markdown #153: [<div⎵ id="foo"↵ ⎵ ⎵ class="bar">↵ </div>↵ ]
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div id="foo"
class="bar">
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div id="foo"
class="bar">
</div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div id="foo"
class="bar">
</div>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div id="foo"
class="bar">
</div>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<div id="foo" class="bar", list?=(no parent), f_working_block->end_column()=1 |
+---> resulting html: [<div id="foo"
class="bar">
</div>
] matched!
markdown #154: [<div⎵ id="foo"⎵ class="bar↵ ⎵ ⎵ baz">↵ </div>↵ ]
, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
it column 1 vs 1
it after reading name "div": [0x5ca51f161ab0] ... et [0x5ca51f161ae0]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<div"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div id="foo" class="bar
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div id="foo" class="bar
baz">
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div id="foo" class="bar
baz">
</div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div id="foo" class="bar
baz">
</div>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div id="foo" class="bar
baz">
</div>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<div>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0 |
+---> resulting html: [<div id="foo" class="bar
baz">
</div>
] matched!
markdown #155: [<div>↵ *foo*↵ ↵ *bar*↵ ]
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
it column 1 vs 1
it after reading name "div": [0x5ca51f15eee0] ... et [0x5ca51f15ef10]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<div>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div>
*foo*
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div>
*foo*
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="*bar*", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [42]...
>> list type [42]...
>> list blank missing [98]...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eee0 -- 0x5ca51f15ef1c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<div>
*foo*
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*bar*"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<div>
*foo*
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*bar*"
- * -------------------------------------------- TREE END ---
---- inline to parse: [*bar*]
>>> found some mark...
>>> mark could be a left flanking span...
*** remain after 'span': []
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<div id="foo"", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 |
+---> resulting html: [<div>
*foo*
<p><em>bar</em></p>
] matched!
markdown #156: [<div⎵ id="foo"↵ *hi*↵ ]
indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1616f0
it on entry: [0x5ca51f1616f0]
it column 1 vs 1
it after reading name "div": [0x5ca51f1616f0] ... et [0x5ca51f161720]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<div"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div id="foo"
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div id="foo"
*hi*
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div id="foo"
*hi*
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div id="foo"
*hi*
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<div class", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 |
+---> resulting html: [<div id="foo"
*hi*
] matched!
markdown #157: [<div⎵ class↵ foo↵ ]
-- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160850
it on entry: [0x5ca51f160850]
it column 1 vs 1
it after reading name "div": [0x5ca51f160850] ... et [0x5ca51f160880]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<div"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div class
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div class
foo
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div class
foo
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div class
foo
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<div *???-&&&-<---", list?=(no parent) |
+---> resulting html: [<div class
foo
] matched!
markdown #158: [<div⎵ *???-&&&-<---↵ *foo*↵ ]
, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
it column 1 vs 1
it after reading name "div": [0x5ca51f161ab0] ... et [0x5ca51f161ae0]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<div"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div *???-&&&-<---
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div *???-&&&-<---
*foo*
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div *???-&&&-<---
*foo*
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div *???-&&&-<---
*foo*
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<div><a href="bar">* |
+---> resulting html: [<div *???-&&&-<---
*foo*
] matched!
markdown #159: [<div><a⎵ href="bar">*foo*</a></div>↵ ]
foo*</a></div>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
it column 1 vs 1
it after reading name "div": [0x5ca51f1636c0] ... et [0x5ca51f1636f0]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<div>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div><a href="bar">*foo*</a></div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div><a href="bar">*foo*</a></div>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div><a href="bar">*foo*</a></div>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<table><tr><td>", list?=(no parent), f_working_block->end_column()=1, has empty line? |
+---> resulting html: [<div><a href="bar">*foo*</a></div>
] matched!
markdown #160: [<table><tr><td>↵ foo↵ </td></tr></table>↵ ]
YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1616f0
it on entry: [0x5ca51f1616f0]
it column 1 vs 1
it after reading name "table": [0x5ca51f1616f0] ... et [0x5ca51f161738]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<table>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<table><tr><td>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<table><tr><td>
foo
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<table><tr><td>
foo
</td></tr></table>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<table><tr><td>
foo
</td></tr></table>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<table><tr><td>
foo
</td></tr></table>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<div></div>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 |
+---> resulting html: [<table><tr><td>
foo
</td></tr></table>
] matched!
markdown #161: [<div></div>↵ ```⎵ c↵ int⎵ x⎵ =⎵ 33;↵ ```↵ ]
indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1616f0
it on entry: [0x5ca51f1616f0]
it column 1 vs 1
it after reading name "div": [0x5ca51f1616f0] ... et [0x5ca51f161720]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<div>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div></div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div></div>
``` c
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div></div>
``` c
int x = 33;
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div></div>
``` c
int x = 33;
```
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div></div>
``` c
int x = 33;
```
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div></div>
``` c
int x = 33;
```
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<a href="foo">", list?=(no parent) |
+---> resulting html: [<div></div>
``` c
int x = 33;
```
] matched!
markdown #162: [<a⎵ href="foo">↵ *bar*↵ </a>↵ ]
, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162f80
it on entry: [0x5ca51f162f80]
it column 1 vs 1
it after reading name "a": [0x5ca51f162f80] ... et [0x5ca51f162f98]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- COMPLETE TAG -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<a"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- tag needs to be complete (<a href="foo">)...
---- tag innards state: 0 for [ href="foo">]...
---- tag innards skip blank
---- tag innards state: 0 for [href="foo">]...
---- tag innards found attribute name
---- tag innards state: 1 for [="foo">]...
---- tag innards got '=' before value
---- tag innards state: 3 for ["foo">]...
---- tag innards state: 5 for [foo">]...
---- tag innards state: 5 for [oo">]...
---- tag innards state: 5 for [o">]...
---- tag innards state: 5 for [">]...
---- tag innards state: 0 for [>]...
---- tag innards found '>', valid!
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<a href="foo">
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<a href="foo">
*bar*
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<a href="foo">
*bar*
</a>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<a href="foo">
*bar*
</a>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<a href="foo">
*bar*
</a>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<Warning>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1 |
+---> resulting html: [<a href="foo">
*bar*
</a>
] matched!
markdown #163: [<Warning>↵ *bar*↵ </Warning>↵ ]
, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166d30
it on entry: [0x5ca51f166d30]
it column 1 vs 1
it after reading name "warning": [0x5ca51f166d30] ... et [0x5ca51f166d90]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- COMPLETE TAG -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<Warning>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<Warning>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<Warning>
*bar*
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<Warning>
*bar*
</Warning>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<Warning>
*bar*
</Warning>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<Warning>
*bar*
</Warning>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<i class="foo">", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
|
+---> resulting html: [<Warning>
*bar*
</Warning>
] matched!
markdown #164: [<i⎵ class="foo">↵ *bar*↵ </i>↵ ]
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15fd30
it on entry: [0x5ca51f15fd30]
it column 1 vs 1
it after reading name "i": [0x5ca51f15fd30] ... et [0x5ca51f15fd48]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- COMPLETE TAG -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<i"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- tag needs to be complete (<i class="foo">)...
---- tag innards state: 0 for [ class="foo">]...
---- tag innards skip blank
---- tag innards state: 0 for [class="foo">]...
---- tag innards found attribute name
---- tag innards state: 1 for [="foo">]...
---- tag innards got '=' before value
---- tag innards state: 3 for ["foo">]...
---- tag innards state: 5 for [foo">]...
---- tag innards state: 5 for [oo">]...
---- tag innards state: 5 for [o">]...
---- tag innards state: 5 for [">]...
---- tag innards state: 0 for [>]...
---- tag innards found '>', valid!
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<i class="foo">
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<i class="foo">
*bar*
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<i class="foo">
*bar*
</i>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<i class="foo">
*bar*
</i>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<i class="foo">
*bar*
</i>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="</ins>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: |
+---> resulting html: [<i class="foo">
*bar*
</i>
] matched!
markdown #165: [</ins>↵ *bar*↵ ]
1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "ins": [0x5ca51f15f840] ... et [0x5ca51f15f87c]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- COMPLETE TAG -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "</ins>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "</ins>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "</ins>
*bar*
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "</ins>
*bar*
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "</ins>
*bar*
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<del>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far |
+---> resulting html: [</ins>
*bar*
] matched!
markdown #166: [<del>↵ *foo*↵ </del>↵ ]
0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "del": [0x5ca51f15f840] ... et [0x5ca51f15f870]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- COMPLETE TAG -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<del>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<del>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<del>
*foo*
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<del>
*foo*
</del>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<del>
*foo*
</del>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<del>
*foo*
</del>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<del>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 |
+---> resulting html: [<del>
*foo*
</del>
] matched!
markdown #167: [<del>↵ ↵ *foo*↵ ↵ </del>↵ ]
-- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "del": [0x5ca51f15f840] ... et [0x5ca51f15f870]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- COMPLETE TAG -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<del>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<del>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<del>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="*foo*", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [42]...
>> list type [42]...
>> list blank missing [102]...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<del>
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*foo*"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<del>
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*foo*"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*foo*"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<del>
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*foo*"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="</del>", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "del": [0x5ca51f15f840] ... et [0x5ca51f15f87c]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- COMPLETE TAG -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 5/1)
- Content: "</del>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 5/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 5/1)
- Content: "</del>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 3)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<del>
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*foo*"
- Block is followed by at least one empty line
+ TAG (line/column: 5/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "</del>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 3)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<del>
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*foo*"
- Block is followed by at least one empty line
+ TAG (line/column: 5/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "</del>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---- inline to parse: [*foo*]
>>> found some mark...
>>> mark could be a left flanking span...
*** remain after 'span': []
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<del>*foo*</del>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1616f0
it on entry: [0x5ca51f1616f0]
it column 1 vs 1
it after reading name "del": [0x5ca51f1616f0] ... et [0x5ca51f161720]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- COMPLETE TAG -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<del>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- not complete (followed by something other than blanks)
--- not HTML block? -- it position: 0 -- 0x5ca51f1616f0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: |
+---> resulting html: [<del>
<p><em>foo</em></p>
</del>
] matched!
markdown #168: [<del>*foo*</del>↵ ]
0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1616f0 -- 0x5ca51f1616f0 -- 0x5ca51f1617b0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<del>*foo*</del>"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<del>*foo*</del>"
- * -------------------------------------------- TREE END ---
---- inline to parse: [<del>*foo*</del>]
---------------- convert HTML tag (inline)
---- tag innards state: 0 for [>*foo*</del>]...
---- tag innards found '>', valid!
>>> found some mark...
>>> mark could be a left flanking span...
*** remain after 'span': [</del>]
---------------- convert HTML tag (inline)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<pre language="haskell"><code>", list?=(no parent), f_working_block->end_column()=1 |
+---> resulting html: [<p><del><em>foo</em></del></p>
] matched!
markdown #169: [<pre⎵ language="haskell"><code>↵ import⎵ Text.HTML.TagSoup↵ ↵ main⎵ ::⎵ IO⎵ ()↵ main⎵ =⎵ print⎵ $⎵ parseTags⎵ tags↵ </code></pre>↵ okay↵ ]
, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
it column 1 vs 1
it after reading name "pre": [0x5ca51f161ab0] ... et [0x5ca51f161ae0]
---- append tag intro to tag_block -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<pre"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<pre language="haskell"><code>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<pre language="haskell"><code>
import Text.HTML.TagSoup
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<pre language="haskell"><code>
import Text.HTML.TagSoup
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<pre language="haskell"><code>
import Text.HTML.TagSoup
[...]"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<pre language="haskell"><code>
import Text.HTML.TagSoup
[...]"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<pre language="haskell"><code>
import Text.HTML.TagSoup [...]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="okay", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161ae0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<pre language="haskell"><code>
import Text.HTML.TagSoup [...]"
+ PARAGRAPH (line/column: 7/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "okay"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<pre language="haskell"><code>
import Text.HTML.TagSoup [...]"
+ PARAGRAPH (line/column: 7/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "okay"
- * -------------------------------------------- TREE END ---
---- inline to parse: [okay]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<script type="text/javascript">", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
it column 1 vs 1
it after reading name "script": [0x5ca51f161ab0] ... et [0x5ca51f161b04]
---- append tag intro to tag_block -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<script"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
|
+---> resulting html: [<pre language="haskell"><code>
import Text.HTML.TagSoup
main :: IO ()
main = print $ parseTags tags
</code></pre>
<p>okay</p>
] matched!
markdown #170: [<script⎵ type="text/javascript">↵ //⎵ JavaScript⎵ example↵ ↵ document.getElementById("demo").innerHTML⎵ =⎵ "Hello⎵ JavaScript!";↵ </script>↵ okay↵ ]
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<script type="text/javascript">
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<script type="text/javascript">
// JavaScript example
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<script type="text/javascript">
// JavaScript example
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<script type="text/javascript">
// JavaScript example
do [...]"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<script type="text/javascript">
// JavaScript example
[...]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="okay", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1636c0 -- 0x5ca51f1636c0 -- 0x5ca51f1636f0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<script type="text/javascript">
// JavaScript example
[...]"
+ PARAGRAPH (line/column: 6/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "okay"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<script type="text/javascript">
// JavaScript example
[...]"
+ PARAGRAPH (line/column: 6/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "okay"
- * -------------------------------------------- TREE END ---
---- inline to parse: [okay]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<textarea>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162f80
it on entry: [0x5ca51f162f80]
it column 1 vs 1
it after reading name "textarea": [0x5ca51f162f80] ... et [0x5ca51f162fec]
---- append tag intro to tag_block -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<textarea>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<textarea>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
|
+---> resulting html: [<script type="text/javascript">
// JavaScript example
document.getElementById("demo").innerHTML = "Hello JavaScript!";
</script>
<p>okay</p>
] matched!
markdown #171: [<textarea>↵ ↵ *foo*↵ ↵ _bar_↵ ↵ </textarea>↵ ]
+ TAG (line/column: 1/1)
- Content: "<textarea>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<textarea>
*foo*
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<textarea>
*foo*
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<textarea>
*foo*
_bar_
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<textarea>
*foo*
_bar_
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<textarea>
*foo*
_bar_
</textarea>
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<textarea>
*foo*
_bar_
</textarea>
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<style", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no |
+---> resulting html: [<textarea>
*foo*
_bar_
</textarea>
] matched!
markdown #172: [<style↵ ⎵ ⎵ type="text/css">↵ h1⎵ {color:red;}↵ ↵ p⎵ {color:blue;}↵ </style>↵ okay↵ ]
and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "style": [0x5ca51f15f840] ... et [0x5ca51f15f888]
---- append tag intro to tag_block -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<style"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<style
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<style
type="text/css">
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<style
type="text/css">
h1 {color:red;}
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<style
type="text/css">
h1 {color:red;}
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<style
type="text/css">
h1 {color:red;}
p {color:blue;}
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<style
type="text/css">
h1 {color:red;}
p {color:blu [...]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="okay", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161ae0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<style
type="text/css">
h1 {color:red;}
p {color:blu [...]"
+ PARAGRAPH (line/column: 7/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "okay"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<style
type="text/css">
h1 {color:red;}
p {color:blu [...]"
+ PARAGRAPH (line/column: 7/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "okay"
- * -------------------------------------------- TREE END ---
---- inline to parse: [okay]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<style", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "style": [0x5ca51f15f840] ... et [0x5ca51f15f888]
---- append tag intro to tag_block -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<style"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<style
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
|
+---> resulting html: [<style
type="text/css">
h1 {color:red;}
p {color:blue;}
</style>
<p>okay</p>
] matched!
markdown #173: [<style↵ ⎵ ⎵ type="text/css">↵ ↵ foo↵ ]
+ TAG (line/column: 1/1)
- Content: "<style
type="text/css">
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<style
type="text/css">
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<style
type="text/css">
foo
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<style
type="text/css">
foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<style
type="text/css">
foo
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> <div>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column |
+---> resulting html: [<style
type="text/css">
foo
] matched!
markdown #174: [>⎵ <div>↵ >⎵ foo↵ ↵ bar↵ ]
1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
it column 3 vs 3
it after reading name "div": [0x5ca51f15f858] ... et [0x5ca51f15f888]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 3 from BLOCKQUOTE
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/3)
- Content: "<div>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (LINE)
- Number: 1
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/3)
- Content: "<div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/3)
- Content: "<div>
foo
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: TAG, Count: 1)
- Number: 1
+ TAG (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "<div>
foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: TAG, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ TAG (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "<div>
foo
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ TAG (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "<div>
foo
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: TAG, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ TAG (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "<div>
foo
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="bar", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f864
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 3
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: TAG, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ TAG (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "<div>
foo
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: TAG, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ TAG (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "<div>
foo
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- <div>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
it column 3 vs 3
it after reading name "div": [0x5ca51f15f858] ... et [0x5ca51f15f888]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 3 LIST ITEM
|
+---> resulting html: [<blockquote>
<div>
foo
</blockquote>
<p>bar</p>
] matched!
markdown #175: [-⎵ <div>↵ -⎵ foo↵ ]
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/3)
- Content: "<div>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LIST_DASH (line/column: 1/1-2)
- Parent (LINE)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/3)
- Content: "<div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
---- got HTML block
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: TAG, Count: 1)
+ TAG (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "<div>
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- foo", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: TAG, Count: 1)
+ TAG (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "<div>
"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: TAG, Count: 1)
+ TAG (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "<div>
"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "foo"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<style>p{color:red;}</s |
+---> resulting html: [<ul>
<li>
<div>
</li>
<li>foo</li>
</ul>
] matched!
markdown #176: [<style>p{color:red;}</style>↵ *foo*↵ ]
tyle>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
it column 1 vs 1
it after reading name "style": [0x5ca51f161ab0] ... et [0x5ca51f161af8]
---- append tag intro to tag_block -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<style>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<style>p{color:red;}</style>
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="*foo*", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [42]...
>> list type [42]...
>> list blank missing [102]...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161aec
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<style>p{color:red;}</style>
"
+ PARAGRAPH (line/column: 2/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*foo*"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<style>p{color:red;}</style>
"
+ PARAGRAPH (line/column: 2/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*foo*"
- * -------------------------------------------- TREE END ---
---- inline to parse: [*foo*]
>>> found some mark...
>>> mark could be a left flanking span...
*** remain after 'span': []
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<!-- foo -->*bar*", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
|
+---> resulting html: [<style>p{color:red;}</style>
<p><em>foo</em></p>
] matched!
markdown #177: [<!--⎵ foo⎵ -->*bar*↵ *baz*↵ ]
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
it column 1 vs 1
* checking for comment: <!-- foo -->*bar*
+---> state 0 current end of string: [ foo -->*bar*]
+---> state 0 current end of string: [foo -->*bar*]
+---> state 0 current end of string: [oo -->*bar*]
+---> state 0 current end of string: [o -->*bar*]
+---> state 0 current end of string: [ -->*bar*]
+---> state 0 current end of string: [-->*bar*]
+---> state 1 current end of string: [->*bar*]
+---> state 2 current end of string: [>*bar*]
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<!-- foo -->*bar*
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="*baz*", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [42]...
>> list type [42]...
>> list blank missing [98]...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161aec
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<!-- foo -->*bar*
"
+ PARAGRAPH (line/column: 2/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*baz*"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<!-- foo -->*bar*
"
+ PARAGRAPH (line/column: 2/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*baz*"
- * -------------------------------------------- TREE END ---
---- inline to parse: [*baz*]
>>> found some mark...
>>> mark could be a left flanking span...
*** remain after 'span': []
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<script>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: |
+---> resulting html: [<!-- foo -->*bar*
<p><em>baz</em></p>
] matched!
markdown #178: [<script>↵ foo↵ </script>1.⎵ *bar*↵ ]
1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "script": [0x5ca51f15f840] ... et [0x5ca51f15f894]
---- append tag intro to tag_block -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<script>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<script>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<script>
foo
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<script>
foo
</script>1. *bar*
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<script>
foo
</script>1. *bar*
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<!-- Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
|
+---> resulting html: [<script>
foo
</script>1. *bar*
] matched!
markdown #179: [<!--⎵ Foo↵ ↵ bar↵ ⎵ ⎵ ⎵ baz⎵ -->↵ okay↵ ]
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
* checking for comment: <!-- Foo
+---> state 0 current end of string: [ Foo]
+---> state 0 current end of string: [Foo]
+---> state 0 current end of string: [oo]
+---> state 0 current end of string: [o]
+---> state 0 current end of string: []
+---> checking next line:
+---> state 0 current end of string: []
+---> checking next line: bar
+---> state 0 current end of string: [bar]
+---> state 0 current end of string: [ar]
+---> state 0 current end of string: [r]
+---> state 0 current end of string: []
+---> checking next line: baz -->
+---> state 0 current end of string: [ baz -->]
+---> state 0 current end of string: [ baz -->]
+---> state 0 current end of string: [ baz -->]
+---> state 0 current end of string: [baz -->]
+---> state 0 current end of string: [az -->]
+---> state 0 current end of string: [z -->]
+---> state 0 current end of string: [ -->]
+---> state 0 current end of string: [-->]
+---> state 1 current end of string: [->]
+---> state 2 current end of string: [>]
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<!-- Foo
bar
baz -->
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="okay", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160850
it on entry: [0x5ca51f160850]
--- not HTML block? -- it position: 0 -- 0x5ca51f160850
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160850 -- 0x5ca51f160850 -- 0x5ca51f160880
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<!-- Foo
bar
baz -->
"
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "okay"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<!-- Foo
bar
baz -->
"
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "okay"
- * -------------------------------------------- TREE END ---
---- inline to parse: [okay]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<?php", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<?php
echo '>';
?>
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647 |
+---> resulting html: [<!-- Foo
bar
baz -->
<p>okay</p>
] matched!
markdown #180: [<?php↵ ↵ ⎵ ⎵ echo⎵ '>';↵ ↵ ?>↵ okay↵ ]
, f_last_line="okay", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15fd30
it on entry: [0x5ca51f15fd30]
--- not HTML block? -- it position: 0 -- 0x5ca51f15fd30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15fd30 -- 0x5ca51f15fd30 -- 0x5ca51f15fd60
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<?php
echo '>';
?>
"
+ PARAGRAPH (line/column: 6/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "okay"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<?php
echo '>';
?>
"
+ PARAGRAPH (line/column: 6/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "okay"
- * -------------------------------------------- TREE END ---
---- inline to parse: [okay]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<!DOCTYPE html>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no |
+---> resulting html: [<?php
echo '>';
?>
<p>okay</p>
] matched!
markdown #181: [<!DOCTYPE⎵ html>↵ ]
and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162ea0
it on entry: [0x5ca51f162ea0]
it column 1 vs 1
* identity first line: <!DOCTYPE html>
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<!DOCTYPE html>
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<!DOCTYPE html>
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<![CDATA[", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: |
+---> resulting html: [<!DOCTYPE html>
] matched!
markdown #182: [<![CDATA[↵ function⎵ matchwo(a,b)↵ {↵ ⎵ ⎵ if⎵ (a⎵ <⎵ b⎵ &&⎵ a⎵ <⎵ 0)⎵ then⎵ {↵ ⎵ ⎵ ⎵ ⎵ return⎵ 1;↵ ↵ ⎵ ⎵ }⎵ else⎵ {↵ ↵ ⎵ ⎵ ⎵ ⎵ return⎵ 0;↵ ⎵ ⎵ }↵ }↵ ]]>↵ okay↵ ]
0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162f80
it on entry: [0x5ca51f162f80]
it column 1 vs 1
* identity first line: <![CDATA[
+---> checking next line: function matchwo(a,b)
+---> checking next line: {
+---> checking next line: if (a < b && a < 0) then {
+---> checking next line: return 1;
+---> checking next line:
+---> checking next line: } else {
+---> checking next line:
+---> checking next line: return 0;
+---> checking next line: }
+---> checking next line: }
+---> checking next line: ]]>
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<![CDATA[
function matchwo(a,b)
{
if (a < b && a < 0) [...]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="okay", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161ae0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<![CDATA[
function matchwo(a,b)
{
if (a < b && a < 0) [...]"
+ PARAGRAPH (line/column: 13/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "okay"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<![CDATA[
function matchwo(a,b)
{
if (a < b && a < 0) [...]"
+ PARAGRAPH (line/column: 13/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "okay"
- * -------------------------------------------- TREE END ---
---- inline to parse: [okay]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" <!-- foo -->", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15fd48
it on entry: [0x5ca51f15fd48]
it column 3 vs 1
* checking for comment: <!-- foo -->
|
+---> resulting html: [<![CDATA[
function matchwo(a,b)
{
if (a < b && a < 0) then {
return 1;
} else {
return 0;
}
}
]]>
<p>okay</p>
] matched!
markdown #183: [⎵ ⎵ <!--⎵ foo⎵ -->↵ ↵ ⎵ ⎵ ⎵ ⎵ <!--⎵ foo⎵ -->↵ ]
+---> state 0 current end of string: [ foo -->]
+---> state 0 current end of string: [foo -->]
+---> state 0 current end of string: [oo -->]
+---> state 0 current end of string: [o -->]
+---> state 0 current end of string: [ -->]
+---> state 0 current end of string: [-->]
+---> state 1 current end of string: [->]
+---> state 2 current end of string: [>]
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/3)
- Parent (DOCUMENT)
- Content: " <!-- foo -->
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/3)
- Parent (DOCUMENT)
- Content: " <!-- foo -->
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ TAG (line/column: 1/3)
- Parent (DOCUMENT)
- Content: " <!-- foo -->
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/3)
- Parent (DOCUMENT)
- Content: " <!-- foo -->
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" <!-- foo -->", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 5 & 1 & 1
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: " <!-- foo -->
"
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 3/5)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<!-- foo -->
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: " <!-- foo -->
"
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 3/5)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<!-- foo -->
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" <div>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: |
+---> resulting html: [ <!-- foo -->
<pre><code><!-- foo -->
</code></pre>
] matched!
markdown #184: [⎵ ⎵ <div>↵ ↵ ⎵ ⎵ ⎵ ⎵ <div>↵ ]
1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
it column 3 vs 1
it after reading name "div": [0x5ca51f15f858] ... et [0x5ca51f15f888]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 3
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/3)
- Content: " <div>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/3)
- Content: " <div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/3)
- Parent (DOCUMENT)
- Content: " <div>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" <div>", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 5 & 1 & 1
+++ link new? 0x5ca51f166fe0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: " <div>
"
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 3/5)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<div>
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: " <div>
"
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 3/5)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<div>
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 |
+---> resulting html: [ <div>
<pre><code><div>
</code></pre>
] matched!
markdown #185: [Foo↵ <div>↵ bar↵ </div>↵ ]
blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f160860
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="<div>", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "div": [0x5ca51f15f840] ... et [0x5ca51f15f870]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 2/1)
- Content: "<div>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 2/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 2/1)
- Content: "<div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 2/1)
- Content: "<div>
bar
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 2/1)
- Content: "<div>
bar
</div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: TAG, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (TAG), Parent (DOCUMENT)
- Content: "Foo"
+ TAG (line/column: 2/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<div>
bar
</div>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: TAG, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (TAG), Parent (DOCUMENT)
- Content: "Foo"
+ TAG (line/column: 2/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<div>
bar
</div>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<div>", list?= |
+---> resulting html: [<p>Foo</p>
<div>
bar
</div>
] matched!
markdown #186: [<div>↵ bar↵ </div>↵ *foo*↵ ]
(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "div": [0x5ca51f15f840] ... et [0x5ca51f15f870]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<div>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div>
bar
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div>
bar
</div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div>
bar
</div>
*foo*
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div>
bar
</div>
*foo*
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div>
bar
</div>
*foo*
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
|
+---> resulting html: [<div>
bar
</div>
*foo*
] matched!
markdown #187: [Foo↵ <a⎵ href="bar">↵ baz↵ ]
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="<a href="bar">", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15fd30
it on entry: [0x5ca51f15fd30]
it column 1 vs 1
it after reading name "a": [0x5ca51f15fd30] ... et [0x5ca51f15fd48]
--- not HTML block? -- it position: 0 -- 0x5ca51f15fd30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15fd30 -- 0x5ca51f15fd30 -- 0x5ca51f15fdd8
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [<a href="bar">]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
<a href="bar">"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15fd30
it on entry: [0x5ca51f15fd30]
--- not HTML block? -- it position: 0 -- 0x5ca51f15fd30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15fd30 -- 0x5ca51f15fd30 -- 0x5ca51f15fd54
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
<a href="bar">
baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
<a href="bar">
baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo
<a href="bar">
baz]
---------------- convert HTML tag (inline)
---- tag innards state: 0 for [href="bar">
baz]...
---- tag innards found attribute name
---- tag innards state: 1 for [="bar">
baz]...
---- tag innards got '=' before value
---- tag innards state: 3 for ["bar">
baz]...
---- tag innards state: 5 for [bar">
baz]...
---- tag innards state: 5 for [ar">
baz]...
---- tag innards state: 5 for [r">
baz]...
---- tag innards state: 5 for [">
baz]...
---- tag innards state: 0 for [>
baz]...
---- tag innards found '>', valid!
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<div>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "div": [0x5ca51f15f840] ... et [0x5ca51f15f870]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<div>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166d40
|
+---> resulting html: [<p>Foo
<a href="bar">
baz</p>
] matched!
markdown #188: [<div>↵ ↵ *Emphasized*⎵ text.↵ ↵ </div>↵ ]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="*Emphasized* text.", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [42]...
>> list type [42]...
>> list blank missing [69]...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161b88
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<div>
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*Emphasized* text."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<div>
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*Emphasized* text."
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*Emphasized* text."
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<div>
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*Emphasized* text."
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="</div>", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
it column 1 vs 1
it after reading name "div": [0x5ca51f161ab0] ... et [0x5ca51f161aec]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 5/1)
- Content: "</div>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 5/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 5/1)
- Content: "</div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166fe0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 3)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<div>
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*Emphasized* text."
- Block is followed by at least one empty line
+ TAG (line/column: 5/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "</div>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 3)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "<div>
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "*Emphasized* text."
- Block is followed by at least one empty line
+ TAG (line/column: 5/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "</div>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---- inline to parse: [*Emphasized* text.]
>>> found some mark...
>>> mark could be a left flanking span...
*** remain after 'span': [ text.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<div>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "div": [0x5ca51f15f840] ... et [0x5ca51f15f870]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<div>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
|
+---> resulting html: [<div>
<p><em>Emphasized</em> text.</p>
</div>
] matched!
markdown #189: [<div>↵ *Emphasized*⎵ text.↵ </div>↵ ]
+ TAG (line/column: 1/1)
- Content: "<div>
*Emphasized* text.
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<div>
*Emphasized* text.
</div>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div>
*Emphasized* text.
</div>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<div>
*Emphasized* text.
</div>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<table>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 |
+---> resulting html: [<div>
*Emphasized* text.
</div>
] matched!
markdown #190: [<table>↵ ↵ <tr>↵ ↵ <td>↵ Hi↵ </td>↵ ↵ </tr>↵ ↵ </table>↵ ]
-- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "table": [0x5ca51f15f840] ... et [0x5ca51f15f888]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<table>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<table>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166fe0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<table>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<tr>", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "tr": [0x5ca51f15f840] ... et [0x5ca51f15f864]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 3/1)
- Content: "<tr>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 3/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 3/1)
- Content: "<tr>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (TAG), Parent (DOCUMENT)
- Content: "<table>
"
- Block is followed by at least one empty line
+ TAG (line/column: 3/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<tr>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<td>", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "td": [0x5ca51f15f840] ... et [0x5ca51f15f864]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 5/1)
- Content: "<td>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 5/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 5/1)
- Content: "<td>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 5/1)
- Content: "<td>
Hi
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 5/1)
- Content: "<td>
Hi
</td>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f166d40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 3)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (TAG), Parent (DOCUMENT)
- Content: "<table>
"
- Block is followed by at least one empty line
+ TAG (line/column: 3/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<tr>
"
- Block is followed by at least one empty line
+ TAG (line/column: 5/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<td>
Hi
</td>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="</tr>", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "tr": [0x5ca51f15f840] ... et [0x5ca51f15f870]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 9/1)
- Content: "</tr>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 9/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 9/1)
- Content: "</tr>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 4)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (TAG), Parent (DOCUMENT)
- Content: "<table>
"
- Block is followed by at least one empty line
+ TAG (line/column: 3/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<tr>
"
- Block is followed by at least one empty line
+ TAG (line/column: 5/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<td>
Hi
</td>
"
- Block is followed by at least one empty line
+ TAG (line/column: 9/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "</tr>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="</table>", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "table": [0x5ca51f15f840] ... et [0x5ca51f15f894]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 11/1)
- Content: "</table>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 11/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 11/1)
- Content: "</table>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 5)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (TAG), Parent (DOCUMENT)
- Content: "<table>
"
- Block is followed by at least one empty line
+ TAG (line/column: 3/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<tr>
"
- Block is followed by at least one empty line
+ TAG (line/column: 5/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<td>
Hi
</td>
"
- Block is followed by at least one empty line
+ TAG (line/column: 9/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "</tr>
"
- Block is followed by at least one empty line
+ TAG (line/column: 11/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "</table>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 5)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (TAG), Parent (DOCUMENT)
- Content: "<table>
"
- Block is followed by at least one empty line
+ TAG (line/column: 3/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<tr>
"
- Block is followed by at least one empty line
+ TAG (line/column: 5/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<td>
Hi
</td>
"
- Block is followed by at least one empty line
+ TAG (line/column: 9/1)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "</tr>
"
- Block is followed by at least one empty line
+ TAG (line/column: 11/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "</table>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="<table>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
it after reading name "table": [0x5ca51f15f840] ... et [0x5ca51f15f888]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 1/1)
- Content: "<table>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 1/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 1/1)
- Content: "<table>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Count: 1)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "<table>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" <tr>", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1 |
+---> resulting html: [<table>
<tr>
<td>
Hi
</td>
</tr>
</table>
] matched!
markdown #191: [<table>↵ ↵ ⎵ ⎵ <tr>↵ ↵ ⎵ ⎵ ⎵ ⎵ <td>↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ Hi↵ ⎵ ⎵ ⎵ ⎵ </td>↵ ↵ ⎵ ⎵ </tr>↵ ↵ </table>↵ ]
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
it column 3 vs 1
it after reading name "tr": [0x5ca51f15f858] ... et [0x5ca51f15f87c]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 3
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 3/3)
- Content: " <tr>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 3/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 3/3)
- Content: " <tr>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 3 & 1 & 1
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 2)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (TAG), Parent (DOCUMENT)
- Content: "<table>
"
- Block is followed by at least one empty line
+ TAG (line/column: 3/3)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: " <tr>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" <td>", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 5 & 1 & 1
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: CODE_BLOCK_INDENTED, Count: 3)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (TAG), Parent (DOCUMENT)
- Content: "<table>
"
- Block is followed by at least one empty line
+ TAG (line/column: 3/3)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: " <tr>
"
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<td>
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" Hi", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [ Hi
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: CODE_BLOCK_INDENTED, Count: 3)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (TAG), Parent (DOCUMENT)
- Content: "<table>
"
- Block is followed by at least one empty line
+ TAG (line/column: 3/3)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: " <tr>
"
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<td>
Hi
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" </td>", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [</td>
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: CODE_BLOCK_INDENTED, Count: 3)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (TAG), Parent (DOCUMENT)
- Content: "<table>
"
- Block is followed by at least one empty line
+ TAG (line/column: 3/3)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: " <tr>
"
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<td>
Hi
</td>
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: CODE_BLOCK_INDENTED, Count: 3)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (TAG), Parent (DOCUMENT)
- Content: "<table>
"
- Block is followed by at least one empty line
+ TAG (line/column: 3/3)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: " <tr>
"
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<td>
Hi
</td>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<td>
Hi
</td>
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: CODE_BLOCK_INDENTED, Count: 3)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (TAG), Parent (DOCUMENT)
- Content: "<table>
"
- Block is followed by at least one empty line
+ TAG (line/column: 3/3)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: " <tr>
"
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<td>
Hi
</td>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" </tr>", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f160868
it on entry: [0x5ca51f160868]
it column 3 vs 1
it after reading name "tr": [0x5ca51f160868] ... et [0x5ca51f160898]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 3
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 9/3)
- Content: " </tr>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 9/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 9/3)
- Content: " </tr>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 3 & 1 & 1
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 4)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (TAG), Parent (DOCUMENT)
- Content: "<table>
"
- Block is followed by at least one empty line
+ TAG (line/column: 3/3)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: " <tr>
"
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<td>
Hi
</td>
"
- Block is followed by at least one empty line
+ TAG (line/column: 9/3)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: " </tr>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="</table>", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160850
it on entry: [0x5ca51f160850]
it column 1 vs 1
it after reading name "table": [0x5ca51f160850] ... et [0x5ca51f1608a4]
---- append tag intro to tag_block -- END WITH EMPTY LINE -- CLOSED -- column limit: 1
- * -------------------------------- HTML BLOCK START:
+ TAG (line/column: 11/1)
- Content: "</table>"
- * -------------------------------- HTML BLOCK START END ---
- * -------------------------------- LAST BLOCK SO FAR:
+ LINE (line/column: 11/1)
- * -------------------------------- LAST BLOCK SO FAR END ---
---- build tag block now
---- append whole line before closing tag or empty line...
- * -------------------------------- HTML BLOCK APPEND LOOP:
+ TAG (line/column: 11/1)
- Content: "</table>
"
- * -------------------------------- HTML BLOCK APPEND LOOP END ---
---- tag ended with an empty line
---- got HTML block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 5)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (TAG), Parent (DOCUMENT)
- Content: "<table>
"
- Block is followed by at least one empty line
+ TAG (line/column: 3/3)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: " <tr>
"
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<td>
Hi
</td>
"
- Block is followed by at least one empty line
+ TAG (line/column: 9/3)
- Next Sibling (TAG), Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: " </tr>
"
- Block is followed by at least one empty line
+ TAG (line/column: 11/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "</table>
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: TAG, Last: TAG, Count: 5)
- Block is followed by at least one empty line
+ TAG (line/column: 1/1)
- Next Sibling (TAG), Parent (DOCUMENT)
- Content: "<table>
"
- Block is followed by at least one empty line
+ TAG (line/column: 3/3)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: " <tr>
"
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Next Sibling (TAG), Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "<td>
Hi
</td>
"
- Block is followed by at least one empty line
+ TAG (line/column: 9/3)
- Next Sibling (TAG), Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: " </tr>
"
- Block is followed by at least one empty line
+ TAG (line/column: 11/1)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "</table>
"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: /url "title"", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? |
+---> resulting html: [<table>
<tr>
<pre><code><td>
Hi
</td>
</code></pre>
</tr>
</table>
] matched!
markdown #192: [[foo]:⎵ /url⎵ "title"↵ ↵ [foo]↵ ]
-- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/url "title"}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/url]...
---- add result as link reference [foo] [/url] [title]...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161aec
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
convert character: 47
convert character: 117
convert character: 114
convert character: 108
URI converted: /url
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" [foo]: ", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: |
+---> resulting html: [<p><a href="/url" title="title">foo</a></p>
] matched!
markdown #193: [⎵ ⎵ ⎵ [foo]:⎵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ /url⎵ ⎵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ 'the⎵ title'⎵ ⎵ ↵ ↵ [foo]↵ ]
2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
working block is a list? no and list_indent is 1 -- it position: 3
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f1683c4
it on entry: [0x5ca51f1683c4]
--- not HTML block? -- it position: 3 -- 0x5ca51f1683c4
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- skip blanks on next line...
---- parse link destination...
---- ref: destination {/url }...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/url]...
---- add result as link reference [foo] [/url] [the title]...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161aec
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
convert character: 47
convert character: 117
convert character: 114
convert character: 108
URI converted: /url
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[Foo*bar\]]:my_(url) 'title (with parens)'", list?=(no parent), f_working_block->end_column()= |
+---> resulting html: [<p><a href="/url" title="the title">foo</a></p>
] matched!
markdown #194: [[Foo*bar\]]:my_(url)⎵ 'title⎵ (with⎵ parens)'↵ ↵ [Foo*bar\]]↵ ]
1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {my_(url) 'title (with parens)'}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [my_(url)]...
---- add result as link reference [Foo*bar\]] [my_(url)] [title (with parens)]...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[Foo*bar\]]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1636c0 -- 0x5ca51f1636c0 -- 0x5ca51f163744
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "[Foo*bar\]]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "[Foo*bar\]]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[Foo*bar\]]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo*bar\]]
convert character: 109
convert character: 121
convert character: 95
convert character: 40
convert character: 117
convert character: 114
convert character: 108
convert character: 41
URI converted: my_(url)
>>> found some mark...
>>> mark could be a left flanking span...
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[Foo bar]:", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 |
+---> resulting html: [<p><a href="my_(url)" title="title (with parens)">Foo*bar]</a></p>
] matched!
markdown #195: [[Foo⎵ bar]:↵ <my⎵ url>↵ 'title'↵ ↵ [Foo⎵ bar]↵ ]
-- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162ea0
it on entry: [0x5ca51f162ea0]
--- not HTML block? -- it position: 0 -- 0x5ca51f162ea0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- skip blanks on next line...
---- parse link destination...
---- ref: destination {<my url>}...
---- ref: read between < and >...
---- ref: now destiation is <my%20url>...
---- add result as link reference [Foo bar] [my%20url] [title]...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[Foo bar]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162ea0
it on entry: [0x5ca51f162ea0]
--- not HTML block? -- it position: 0 -- 0x5ca51f162ea0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162ea0 -- 0x5ca51f162ea0 -- 0x5ca51f162f0c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/1)
- Parent (DOCUMENT)
- Content: "[Foo bar]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/1)
- Parent (DOCUMENT)
- Content: "[Foo bar]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[Foo bar]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo bar]
convert character: 109
convert character: 121
convert character: 117
convert character: 114
convert character: 108
URI converted: my%20url
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: /url '", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: |
+---> resulting html: [<p><a href="my%20url" title="title">Foo bar</a></p>
] matched!
markdown #196: [[foo]:⎵ /url⎵ '↵ title↵ line1↵ line2↵ '↵ ↵ [foo]↵ ]
0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1683a0
it on entry: [0x5ca51f1683a0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1683a0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/url '}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/url]...
---- add result as link reference [foo] [/url] [
title
line1
line2
]...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1683a0
it on entry: [0x5ca51f1683a0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1683a0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1683a0 -- 0x5ca51f1683a0 -- 0x5ca51f1683dc
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 7/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 7/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
convert character: 47
convert character: 117
convert character: 114
convert character: 108
URI converted: /url
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: /url 'title", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no |
+---> resulting html: [<p><a href="/url" title="
title
line1
line2
">foo</a></p>
] matched!
markdown #197: [[foo]:⎵ /url⎵ 'title↵ ↵ with⎵ blank⎵ line'↵ ↵ [foo]↵ ]
and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/url 'title}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/url]...
---- ref: bad title, two or more empty lines...
---- not reference (5)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161b88
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]: /url 'title"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]: /url 'title"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]: /url 'title"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]: /url 'title"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="with blank line'", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [119]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161b70
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]: /url 'title"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "with blank line'"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]: /url 'title"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "with blank line'"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "with blank line'"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]: /url 'title"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "with blank line'"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161aec
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]: /url 'title"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "with blank line'"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]: /url 'title"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "with blank line'"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]: /url 'title]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
>>> not a link... return error [[]
---- inline to parse: [with blank line']
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
>>> not a link... return error [[]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]:", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 |
+---> resulting html: [<p>[foo]: /url 'title</p>
<p>with blank line'</p>
<p>[foo]</p>
] matched!
markdown #198: [[foo]:↵ /url↵ ↵ [foo]↵ ]
-- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- skip blanks on next line...
---- parse link destination...
---- ref: destination {/url}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/url]...
---- add result as link reference [foo] [/url] []...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
convert character: 47
convert character: 117
convert character: 114
convert character: 108
URI converted: /url
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]:", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
|
+---> resulting html: [<p><a href="/url">foo</a></p>
] matched!
markdown #199: [[foo]:↵ ↵ [foo]↵ ]
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- skip blanks on next line...
---- not reference (4)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f888
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]:"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]:"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]:"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]:"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]:"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]:"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]:]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
>>> not a link... return error [[]
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
>>> not a link... return error [[]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: <>", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: |
+---> resulting html: [<p>[foo]:</p>
<p>[foo]</p>
] matched!
markdown #200: [[foo]:⎵ <>↵ ↵ [foo]↵ ]
0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15fd30
it on entry: [0x5ca51f15fd30]
--- not HTML block? -- it position: 0 -- 0x5ca51f15fd30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {<>}...
---- ref: read between < and >...
---- ref: now destiation is <>...
---- add result as link reference [foo] [] []...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15fd30
it on entry: [0x5ca51f15fd30]
--- not HTML block? -- it position: 0 -- 0x5ca51f15fd30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15fd30 -- 0x5ca51f15fd30 -- 0x5ca51f15fd6c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166f40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
URI converted:
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: <bar>(baz)", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91 |
+---> resulting html: [<p><a href="">foo</a></p>
] matched!
markdown #201: [[foo]:⎵ <bar>(baz)↵ ↵ [foo]↵ ]
]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {<bar>(baz)}...
---- ref: read between < and >...
---- ref: now destiation is <bar>...
---- not reference (5)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161b7c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166f40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]: <bar>(baz)"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]: <bar>(baz)"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]: <bar>(baz)"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]: <bar>(baz)"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161aec
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]: <bar>(baz)"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]: <bar>(baz)"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]: <bar>(baz)]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
>>> not a link... return error [[]
---------------- convert HTML tag (inline)
---- tag innards state: 0 for [>(baz)]...
---- tag innards found '>', valid!
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
>>> not a link... return error [[]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: /url\bar\*baz "foo\"b |
+---> resulting html: [<p>[foo]: <bar>(baz)</p>
<p>[foo]</p>
] matched!
markdown #202: [[foo]:⎵ /url\bar\*baz⎵ "foo\"bar\baz"↵ ↵ [foo]↵ ]
ar\baz"", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/url\bar\*baz "foo\"bar\baz"}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/url\bar*baz]...
---- add result as link reference [foo] [/url\bar*baz] [foo"bar\baz]...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1636c0 -- 0x5ca51f1636c0 -- 0x5ca51f1636fc
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
convert character: 47
convert character: 117
convert character: 114
convert character: 108
convert character: 98
convert character: 97
convert character: 114
convert character: 42
convert character: 98
convert character: 97
convert character: 122
URI converted: /url%5Cbar*baz
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [ |
+---> resulting html: [<p><a href="/url%5Cbar*baz" title="foo"bar\baz">foo</a></p>
] matched!
markdown #203: [[foo]↵ ↵ [foo]:⎵ url↵ ]
91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: url", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166f30
it on entry: [0x5ca51f166f30]
--- not HTML block? -- it position: 0 -- 0x5ca51f166f30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {url}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [url]...
---- add result as link reference [foo] [url] []...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
convert character: 117
convert character: 114
convert character: 108
URI converted: url
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
|
+---> resulting html: [<p><a href="url">foo</a></p>
] matched!
markdown #204: [[foo]↵ ↵ [foo]:⎵ first↵ [foo]:⎵ second↵ ]
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: first", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f168560
it on entry: [0x5ca51f168560]
--- not HTML block? -- it position: 0 -- 0x5ca51f168560
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {first}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [first]...
---- add result as link reference [foo] [first] []...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: second", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f168560
it on entry: [0x5ca51f168560]
--- not HTML block? -- it position: 0 -- 0x5ca51f168560
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {second}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [second]...
---- add result as link reference [foo] [second] []...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
convert character: 102
convert character: 105
convert character: 114
convert character: 115
convert character: 116
URI converted: first
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[FOO]: /url", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: |
+---> resulting html: [<p><a href="first">foo</a></p>
] matched!
markdown #205: [[FOO]:⎵ /url↵ ↵ [Foo]↵ ]
1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162f80
it on entry: [0x5ca51f162f80]
--- not HTML block? -- it position: 0 -- 0x5ca51f162f80
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/url}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/url]...
---- add result as link reference [FOO] [/url] []...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[Foo]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162f80
it on entry: [0x5ca51f162f80]
--- not HTML block? -- it position: 0 -- 0x5ca51f162f80
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162f80 -- 0x5ca51f162f80 -- 0x5ca51f162fbc
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "[Foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "[Foo]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[Foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
convert character: 47
convert character: 117
convert character: 114
convert character: 108
URI converted: /url
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[ΑΓΩ]: /φου", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91 |
+---> resulting html: [<p><a href="/url">Foo</a></p>
] matched!
markdown #206: [[ΑΓΩ]:⎵ /φου↵ ↵ [αγω]↵ ]
]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15fd30
it on entry: [0x5ca51f15fd30]
--- not HTML block? -- it position: 0 -- 0x5ca51f15fd30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/φου}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/φου]...
---- add result as link reference [ΑΓΩ] [/φου] []...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[αγω]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15fd30
it on entry: [0x5ca51f15fd30]
--- not HTML block? -- it position: 0 -- 0x5ca51f15fd30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15fd30 -- 0x5ca51f15fd30 -- 0x5ca51f15fd6c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "[αγω]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "[αγω]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[αγω]]
not a valid link destination, try again as a reference...
--- ref: search for link named [αγω]
convert character: 47
convert character: 966
convert character: 959
convert character: 965
URI converted: /%CF%86%CE%BF%CF%85
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: /url", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
|
+---> resulting html: [<p><a href="/%CF%86%CE%BF%CF%85">αγω</a></p>
] matched!
markdown #207: [[foo]:⎵ /url↵ ]
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f168480
it on entry: [0x5ca51f168480]
--- not HTML block? -- it position: 0 -- 0x5ca51f168480
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/url}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/url]...
---- add result as link reference [foo] [/url] []...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0 |
+---> resulting html: [] matched!
markdown #208: [[↵ foo↵ ]:⎵ /url↵ bar↵ ]
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x7ffe7faa6908
it on entry: [0x7ffe7faa6908]
--- not HTML block? -- it position: 0 -- 0x7ffe7faa6908
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/url}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/url]...
---- add result as link reference [foo] [/url] []...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="bar", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f864
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Parent (DOCUMENT)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Parent (DOCUMENT)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: /url "title" ok", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far |
+---> resulting html: [<p>bar</p>
] matched!
markdown #209: [[foo]:⎵ /url⎵ "title"⎵ ok↵ ]
0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/url "title" ok}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/url]...
---- ref: title followed by chars other than blanks...
---- not reference (5)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161bb8
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]: /url "title" ok"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]: /url "title" ok"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]: /url "title" ok]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
>>> not a link... return error [[]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: /url", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: |
+---> resulting html: [<p>[foo]: /url "title" ok</p>
] matched!
markdown #210: [[foo]:⎵ /url↵ "title"⎵ ok↵ ]
0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166f30
it on entry: [0x5ca51f166f30]
--- not HTML block? -- it position: 0 -- 0x5ca51f166f30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/url}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/url]...
---- ref: title followed by chars other than blanks...
---- add result as link reference [foo] [/url] [title]...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=""title" ok", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [34]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166f30
it on entry: [0x5ca51f166f30]
--- not HTML block? -- it position: 0 -- 0x5ca51f166f30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f166f30 -- 0x5ca51f166f30 -- 0x5ca51f166fa8
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/1)
- Parent (DOCUMENT)
- Content: ""title" ok"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/1)
- Parent (DOCUMENT)
- Content: ""title" ok"
- * -------------------------------------------- TREE END ---
---- inline to parse: ["title" ok]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" [foo]: /url "title"", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: |
+---> resulting html: [<p>"title" ok</p>
] matched!
markdown #211: [⎵ ⎵ ⎵ ⎵ [foo]:⎵ /url⎵ "title"↵ ↵ [foo]↵ ]
1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "[foo]: /url "title"
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "[foo]: /url "title"
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "[foo]: /url "title"
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "[foo]: /url "title"
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161aec
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]: /url "title"
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]: /url "title"
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "[foo]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
>>> not a link... return error [[]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
|
+---> resulting html: [<pre><code>[foo]: /url "title"
</code></pre>
<p>[foo]</p>
] matched!
markdown #212: [```↵ [foo]:⎵ /url↵ ```↵ ↵ [foo]↵ ]
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line [[foo]: /url]
--- check indent: 1 vs 1
--- end count: 0
--- add: [foo]: /url
--- got next line [```]
--- check indent: 1 vs 1
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]: /url
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]: /url
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]: /url
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]: /url
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f168480
it on entry: [0x5ca51f168480]
--- not HTML block? -- it position: 0 -- 0x5ca51f168480
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f168480 -- 0x5ca51f168480 -- 0x5ca51f1684bc
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]: /url
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (CODE_BLOCK_GRAVE), Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_GRAVE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[foo]: /url
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/1)
- Previous Sibling (CODE_BLOCK_GRAVE), Parent (DOCUMENT)
- Content: "[foo]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
>>> not a link... return error [[]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0 |
+---> resulting html: [<pre><code>[foo]: /url
</code></pre>
<p>[foo]</p>
] matched!
markdown #213: [Foo↵ [bar]:⎵ /baz↵ ↵ [bar]↵ ]
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="[bar]: /baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166f30
it on entry: [0x5ca51f166f30]
--- not HTML block? -- it position: 0 -- 0x5ca51f166f30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f166f30 -- 0x5ca51f166f30 -- 0x5ca51f166fb4
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [[bar]: /baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
[bar]: /baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
[bar]: /baz"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
[bar]: /baz"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo
[bar]: /baz"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[bar]", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f166f30
it on entry: [0x5ca51f166f30]
--- not HTML block? -- it position: 0 -- 0x5ca51f166f30
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f166f30 -- 0x5ca51f166f30 -- 0x5ca51f166f6c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo
[bar]: /baz"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[bar]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "Foo
[bar]: /baz"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "[bar]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo
[bar]: /baz]
not a valid link destination, try again as a reference...
--- ref: search for link named [bar]
>>> not a link... return error [[]
---- inline to parse: [[bar]]
not a valid link destination, try again as a reference...
--- ref: search for link named [bar]
>>> not a link... return error [[]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="# [Foo]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: |
+---> resulting html: [<p>Foo
[bar]: /baz</p>
<p>[bar]</p>
] matched!
markdown #214: [#⎵ [Foo]↵ [foo]:⎵ /url↵ >⎵ bar↵ ]
0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[Foo]"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="[foo]: /url", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f168560
it on entry: [0x5ca51f168560]
--- not HTML block? -- it position: 0 -- 0x5ca51f168560
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/url}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/url]...
---- add result as link reference [foo] [/url] []...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Count: 1)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[Foo]"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="> bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f168578
it on entry: [0x5ca51f168578]
--- not HTML block? -- it position: 2 -- 0x5ca51f168578
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f168560 -- 0x5ca51f168578 -- 0x5ca51f16859c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 3 & 1 & 1
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: BLOCKQUOTE, Count: 2)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "[Foo]"
- Number: 1
+ BLOCKQUOTE (line/column: 3/1-3)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 3/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_OPEN, Last: BLOCKQUOTE, Count: 2)
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 1/1)
- Next Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "[Foo]"
- Number: 1
+ BLOCKQUOTE (line/column: 3/1-3)
- Previous Sibling (HEADER_OPEN), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 3/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[Foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
convert character: 47
convert character: 117
convert character: 114
convert character: 108
URI converted: /url
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: /url", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91 |
+---> resulting html: [<h1><a href="/url">Foo</a></h1>
<blockquote>
<p>bar</p>
</blockquote>
] matched!
markdown #215: [[foo]:⎵ /url↵ bar↵ ===↵ [foo]↵ ]
]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162f80
it on entry: [0x5ca51f162f80]
--- not HTML block? -- it position: 0 -- 0x5ca51f162f80
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/url}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/url]...
---- add result as link reference [foo] [/url] []...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="bar", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162f80
it on entry: [0x5ca51f162f80]
--- not HTML block? -- it position: 0 -- 0x5ca51f162f80
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162f80 -- 0x5ca51f162f80 -- 0x5ca51f162fa4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="===", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [61]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162f80
it on entry: [0x5ca51f162f80]
--- not HTML block? -- it position: 0 -- 0x5ca51f162f80
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "bar"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f168570 --- next 0 --- previous 0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
- * ---------------------------- DOCUMENT TREE AFTER RELINK
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER RELINK END ---
---- break or setext
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_DOUBLE, Count: 1)
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "bar"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="[foo]", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162f80
it on entry: [0x5ca51f162f80]
--- not HTML block? -- it position: 0 -- 0x5ca51f162f80
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162f80 -- 0x5ca51f162f80 -- 0x5ca51f162fbc
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_DOUBLE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 3/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bar"
- Number: 1
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (HEADER_DOUBLE), Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: HEADER_DOUBLE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ HEADER_DOUBLE (line/column: 3/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bar"
- Number: 1
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (HEADER_DOUBLE), Parent (DOCUMENT)
- Content: "[foo]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [bar]
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
convert character: 47
convert character: 117
convert character: 114
convert character: 108
URI converted: /url
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: /url", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91 |
+---> resulting html: [<h1>bar</h1>
<p><a href="/url">foo</a></p>
] matched!
markdown #216: [[foo]:⎵ /url↵ ===↵ [foo]↵ ]
]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1683a0
it on entry: [0x5ca51f1683a0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1683a0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/url}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/url]...
---- add result as link reference [foo] [/url] []...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="===", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [61]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1683a0
it on entry: [0x5ca51f1683a0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1683a0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1683a0 -- 0x5ca51f1683a0 -- 0x5ca51f1683c4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "==="
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="[foo]", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1683a0
it on entry: [0x5ca51f1683a0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1683a0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1683a0 -- 0x5ca51f1683a0 -- 0x5ca51f1683dc
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [[foo]]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "===
[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/1)
- Parent (DOCUMENT)
- Content: "===
[foo]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [===
[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
convert character: 47
convert character: 117
convert character: 114
convert character: 108
URI converted: /url
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]: /foo-url "foo"", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: |
+---> resulting html: [<p>===
<a href="/url">foo</a></p>
] matched!
markdown #217: [[foo]:⎵ /foo-url⎵ "foo"↵ [bar]:⎵ /bar-url↵ ⎵ ⎵ "bar"↵ [baz]:⎵ /baz-url↵ ↵ [foo],↵ [bar],↵ [baz]↵ ]
1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/foo-url "foo"}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/foo-url]...
---- add result as link reference [foo] [/foo-url] [foo]...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[bar]: /bar-url", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/bar-url}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/bar-url]...
---- add result as link reference [bar] [/bar-url] [bar]...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[baz]: /baz-url", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/baz-url}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/baz-url]...
---- add result as link reference [baz] [/baz-url] []...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo],", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 44...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161af8
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 6/1)
- Parent (DOCUMENT)
- Content: "[foo],"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="[bar],", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161af8
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [[bar],]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 6/1)
- Parent (DOCUMENT)
- Content: "[foo],
[bar],"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="[baz]", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161aec
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [[baz]]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 6/1)
- Parent (DOCUMENT)
- Content: "[foo],
[bar],
[baz]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 6/1)
- Parent (DOCUMENT)
- Content: "[foo],
[bar],
[baz]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo],
[bar],
[baz]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
convert character: 47
convert character: 102
convert character: 111
convert character: 111
convert character: 45
convert character: 117
convert character: 114
convert character: 108
URI converted: /foo-url
not a valid link destination, try again as a reference...
--- ref: search for link named [bar]
convert character: 47
convert character: 98
convert character: 97
convert character: 114
convert character: 45
convert character: 117
convert character: 114
convert character: 108
URI converted: /bar-url
not a valid link destination, try again as a reference...
--- ref: search for link named [baz]
convert character: 47
convert character: 98
convert character: 97
convert character: 122
convert character: 45
convert character: 117
convert character: 114
convert character: 108
URI converted: /baz-url
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="[foo]", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: |
+---> resulting html: [<p><a href="/foo-url" title="foo">foo</a>,
<a href="/bar-url" title="bar">bar</a>,
<a href="/baz-url">baz</a></p>
] matched!
markdown #218: [[foo]↵ ↵ >⎵ [foo]:⎵ /url↵ ]
0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- parse link text...
---- check for colon: 0...
---- not reference (3)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> [foo]: /url", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f162f98
it on entry: [0x5ca51f162f98]
--- not HTML block? -- it position: 2 -- 0x5ca51f162f98
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/url}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/url]...
---- add result as link reference [foo] [/url] []...
---- link reference
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 3/1-3)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "[foo]"
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 3/1-3)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Number: 1
- * -------------------------------------------- TREE END ---
---- inline to parse: [[foo]]
not a valid link destination, try again as a reference...
--- ref: search for link named [foo]
convert character: 47
convert character: 117
convert character: 114
convert character: 108
URI converted: /url
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="aaa", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [97]...
|
+---> resulting html: [<p><a href="/url">foo</a></p>
<blockquote>
</blockquote>
] matched!
markdown #219: [aaa↵ ↵ bbb↵ ]
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="bbb", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bbb"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bbb"
- * -------------------------------------------- TREE END ---
---- inline to parse: [aaa]
---- inline to parse: [bbb]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="aaa", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
|
+---> resulting html: [<p>aaa</p>
<p>bbb</p>
] matched!
markdown #220: [aaa↵ bbb↵ ↵ ccc↵ ddd↵ ]
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="bbb", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [bbb]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
bbb"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
bbb"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
bbb"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
bbb"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="ccc", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [99]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa
bbb"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "ccc"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="ddd", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [100]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [ddd]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa
bbb"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "ccc
ddd"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa
bbb"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "ccc
ddd"
- * -------------------------------------------- TREE END ---
---- inline to parse: [aaa
bbb]
---- inline to parse: [ccc
ddd]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="aaa", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
|
+---> resulting html: [<p>aaa
bbb</p>
<p>ccc
ddd</p>
] matched!
markdown #221: [aaa↵ ↵ ↵ bbb↵ ]
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="bbb", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bbb"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bbb"
- * -------------------------------------------- TREE END ---
---- inline to parse: [aaa]
---- inline to parse: [bbb]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" aaa", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
|
+---> resulting html: [<p>aaa</p>
<p>bbb</p>
] matched!
markdown #222: [⎵ ⎵ aaa↵ ⎵ bbb↵ ]
column: 3 indent 1 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (DOCUMENT)
- Content: "aaa"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" bbb", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
working block is a list? no and list_indent is 2147483647 -- it position: 1
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 1
+++ not a list or blockquote? -- it position: 1
any containers (other than line)? -- it position: 1
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f15f84c
it on entry: [0x5ca51f15f84c]
--- not HTML block? -- it position: 1 -- 0x5ca51f15f84c
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 1
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 1 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f84c -- 0x5ca51f15f870
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [bbb]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (DOCUMENT)
- Content: "aaa
bbb"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (DOCUMENT)
- Content: "aaa
bbb"
- * -------------------------------------------- TREE END ---
---- inline to parse: [aaa
bbb]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="aaa", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [97]...
>> not a list mark...
|
+---> resulting html: [<p>aaa
bbb</p>
] matched!
markdown #223: [aaa↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ bbb↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ccc↵ ]
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f3d0
it on entry: [0x5ca51f15f3d0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f3d0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f3d0 -- 0x5ca51f15f3d0 -- 0x5ca51f15f3f4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" bbb", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 2147483647 -- it position: 5
column: 6 indent 2147483647 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 2147483647 -- it position: 6
column: 7 indent 2147483647 -- it position: 6
+++ gap so far 7 blanks, working column: 1, it column 8, list indent: 2147483647 -- it position: 7
column: 8 indent 2147483647 -- it position: 7
+++ gap so far 8 blanks, working column: 1, it column 9, list indent: 2147483647 -- it position: 8
column: 9 indent 2147483647 -- it position: 8
+++ gap so far 9 blanks, working column: 1, it column 10, list indent: 2147483647 -- it position: 9
column: 10 indent 2147483647 -- it position: 9
+++ gap so far 10 blanks, working column: 1, it column 11, list indent: 2147483647 -- it position: 10
column: 11 indent 2147483647 -- it position: 10
+++ gap so far 11 blanks, working column: 1, it column 12, list indent: 2147483647 -- it position: 11
column: 12 indent 2147483647 -- it position: 11
+++ gap so far 12 blanks, working column: 1, it column 13, list indent: 2147483647 -- it position: 12
column: 13 indent 2147483647 -- it position: 12
+++ gap so far 13 blanks, working column: 1, it column 14, list indent: 2147483647 -- it position: 13
column: 14 indent 2147483647 -- it position: 13
+++ gap so far 13 blanks, working column: 1, it column 14, list indent: 2147483647 -- it position: 13
working block is a list? no and list_indent is 2147483647 -- it position: 13
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 13
+++ not a list or blockquote? -- it position: 13
any containers (other than line)? -- it position: 13
--- not empty? -- it position: 13
--- not indented block? -- it position: 13
setup character
create paragraph
add content -- 0x5ca51f15fd30 -- 0x5ca51f15fdcc -- 0x5ca51f15fdf0
link child
save working child
end paragraph handling
---- early paragraph WITHOUT list sub-block = 14 >= 0 + 4
+++ append to existing block code or paragraph? [bbb]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
bbb"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ccc", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 2147483647 -- it position: 5
column: 6 indent 2147483647 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 2147483647 -- it position: 6
column: 7 indent 2147483647 -- it position: 6
+++ gap so far 7 blanks, working column: 1, it column 8, list indent: 2147483647 -- it position: 7
column: 8 indent 2147483647 -- it position: 7
+++ gap so far 8 blanks, working column: 1, it column 9, list indent: 2147483647 -- it position: 8
column: 9 indent 2147483647 -- it position: 8
+++ gap so far 9 blanks, working column: 1, it column 10, list indent: 2147483647 -- it position: 9
column: 10 indent 2147483647 -- it position: 9
+++ gap so far 10 blanks, working column: 1, it column 11, list indent: 2147483647 -- it position: 10
column: 11 indent 2147483647 -- it position: 10
+++ gap so far 11 blanks, working column: 1, it column 12, list indent: 2147483647 -- it position: 11
column: 12 indent 2147483647 -- it position: 11
+++ gap so far 12 blanks, working column: 1, it column 13, list indent: 2147483647 -- it position: 12
column: 13 indent 2147483647 -- it position: 12
+++ gap so far 13 blanks, working column: 1, it column 14, list indent: 2147483647 -- it position: 13
column: 14 indent 2147483647 -- it position: 13
+++ gap so far 14 blanks, working column: 1, it column 15, list indent: 2147483647 -- it position: 14
column: 15 indent 2147483647 -- it position: 14
+++ gap so far 15 blanks, working column: 1, it column 16, list indent: 2147483647 -- it position: 15
column: 16 indent 2147483647 -- it position: 15
+++ gap so far 16 blanks, working column: 1, it column 17, list indent: 2147483647 -- it position: 16
column: 17 indent 2147483647 -- it position: 16
+++ gap so far 17 blanks, working column: 1, it column 18, list indent: 2147483647 -- it position: 17
column: 18 indent 2147483647 -- it position: 17
+++ gap so far 18 blanks, working column: 1, it column 19, list indent: 2147483647 -- it position: 18
column: 19 indent 2147483647 -- it position: 18
+++ gap so far 19 blanks, working column: 1, it column 20, list indent: 2147483647 -- it position: 19
column: 20 indent 2147483647 -- it position: 19
+++ gap so far 20 blanks, working column: 1, it column 21, list indent: 2147483647 -- it position: 20
column: 21 indent 2147483647 -- it position: 20
+++ gap so far 21 blanks, working column: 1, it column 22, list indent: 2147483647 -- it position: 21
column: 22 indent 2147483647 -- it position: 21
+++ gap so far 22 blanks, working column: 1, it column 23, list indent: 2147483647 -- it position: 22
column: 23 indent 2147483647 -- it position: 22
+++ gap so far 23 blanks, working column: 1, it column 24, list indent: 2147483647 -- it position: 23
column: 24 indent 2147483647 -- it position: 23
+++ gap so far 24 blanks, working column: 1, it column 25, list indent: 2147483647 -- it position: 24
column: 25 indent 2147483647 -- it position: 24
+++ gap so far 25 blanks, working column: 1, it column 26, list indent: 2147483647 -- it position: 25
column: 26 indent 2147483647 -- it position: 25
+++ gap so far 26 blanks, working column: 1, it column 27, list indent: 2147483647 -- it position: 26
column: 27 indent 2147483647 -- it position: 26
+++ gap so far 27 blanks, working column: 1, it column 28, list indent: 2147483647 -- it position: 27
column: 28 indent 2147483647 -- it position: 27
+++ gap so far 28 blanks, working column: 1, it column 29, list indent: 2147483647 -- it position: 28
column: 29 indent 2147483647 -- it position: 28
+++ gap so far 29 blanks, working column: 1, it column 30, list indent: 2147483647 -- it position: 29
column: 30 indent 2147483647 -- it position: 29
+++ gap so far 30 blanks, working column: 1, it column 31, list indent: 2147483647 -- it position: 30
column: 31 indent 2147483647 -- it position: 30
+++ gap so far 31 blanks, working column: 1, it column 32, list indent: 2147483647 -- it position: 31
column: 32 indent 2147483647 -- it position: 31
+++ gap so far 32 blanks, working column: 1, it column 33, list indent: 2147483647 -- it position: 32
column: 33 indent 2147483647 -- it position: 32
+++ gap so far 33 blanks, working column: 1, it column 34, list indent: 2147483647 -- it position: 33
column: 34 indent 2147483647 -- it position: 33
+++ gap so far 34 blanks, working column: 1, it column 35, list indent: 2147483647 -- it position: 34
column: 35 indent 2147483647 -- it position: 34
+++ gap so far 35 blanks, working column: 1, it column 36, list indent: 2147483647 -- it position: 35
column: 36 indent 2147483647 -- it position: 35
+++ gap so far 36 blanks, working column: 1, it column 37, list indent: 2147483647 -- it position: 36
column: 37 indent 2147483647 -- it position: 36
+++ gap so far 37 blanks, working column: 1, it column 38, list indent: 2147483647 -- it position: 37
column: 38 indent 2147483647 -- it position: 37
+++ gap so far 38 blanks, working column: 1, it column 39, list indent: 2147483647 -- it position: 38
column: 39 indent 2147483647 -- it position: 38
+++ gap so far 39 blanks, working column: 1, it column 40, list indent: 2147483647 -- it position: 39
column: 40 indent 2147483647 -- it position: 39
+++ gap so far 39 blanks, working column: 1, it column 40, list indent: 2147483647 -- it position: 39
working block is a list? no and list_indent is 2147483647 -- it position: 39
>> parse for list [99]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 39
+++ not a list or blockquote? -- it position: 39
any containers (other than line)? -- it position: 39
--- not empty? -- it position: 39
--- not indented block? -- it position: 39
setup character
create paragraph
add content -- 0x5ca51f1636c0 -- 0x5ca51f163894 -- 0x5ca51f1638b8
link child
save working child
end paragraph handling
---- early paragraph WITHOUT list sub-block = 40 >= 0 + 4
+++ append to existing block code or paragraph? [ccc]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
bbb
ccc"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
bbb
ccc"
- * -------------------------------------------- TREE END ---
---- inline to parse: [aaa
bbb
ccc]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" aaa", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 |
+---> resulting html: [<p>aaa
bbb
ccc</p>
] matched!
markdown #224: [⎵ ⎵ ⎵ aaa↵ bbb↵ ]
indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
working block is a list? no and list_indent is 1 -- it position: 3
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15f864
it on entry: [0x5ca51f15f864]
--- not HTML block? -- it position: 3 -- 0x5ca51f15f864
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f864 -- 0x5ca51f15f888
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 4 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (DOCUMENT)
- Content: "aaa"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="bbb", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f864
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [bbb]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (DOCUMENT)
- Content: "aaa
bbb"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (DOCUMENT)
- Content: "aaa
bbb"
- * -------------------------------------------- TREE END ---
---- inline to parse: [aaa
bbb]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" aaa", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 |
+---> resulting html: [<p>aaa
bbb</p>
] matched!
markdown #225: [⎵ ⎵ ⎵ ⎵ aaa↵ bbb↵ ]
-- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "aaa
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="bbb", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f864
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa
"
+ PARAGRAPH (line/column: 2/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "bbb"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa
"
+ PARAGRAPH (line/column: 2/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "bbb"
- * -------------------------------------------- TREE END ---
---- inline to parse: [bbb]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="aaa ", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [97 |
+---> resulting html: [<pre><code>aaa
</code></pre>
<p>bbb</p>
] matched!
markdown #226: [aaa⎵ ⎵ ⎵ ⎵ ⎵ ↵ bbb⎵ ⎵ ⎵ ⎵ ⎵ ↵ ]
]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f8a0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa "
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="bbb ", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f8a0
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [bbb ]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
bbb "
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "aaa
bbb "
- * -------------------------------------------- TREE END ---
---- inline to parse: [aaa
bbb ]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far -1 |
+---> resulting html: [<p>aaa<br />
bbb</p>
] matched!
markdown #227: [⎵ ⎵ ↵ ↵ aaa↵ ⎵ ⎵ ↵ ↵ #⎵ aaa↵ ↵ ⎵ ⎵ ↵ ]
blanks, working column: 1, it column 0, list indent: 1 -- it position: 2
any containers (other than line)? -- it position: 2
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="aaa", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601b4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "aaa"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far -1 blanks, working column: 1, it column 0, list indent: 2147483647 -- it position: 2
any containers (other than line)? -- it position: 2
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="# aaa", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
---- header
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: HEADER_OPEN, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 6/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: HEADER_OPEN, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 6/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa"
- Number: 1
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ HEADER_OPEN (line/column: 6/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa"
- Number: 1
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: HEADER_OPEN, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 6/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa"
- Number: 1
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far -1 blanks, working column: 1, it column 0, list indent: 1 -- it position: 2
any containers (other than line)? -- it position: 2
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: HEADER_OPEN, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 6/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa"
- Number: 1
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ HEADER_OPEN (line/column: 6/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa"
- Number: 1
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: HEADER_OPEN, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 6/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa"
- Number: 1
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: HEADER_OPEN, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (HEADER_OPEN), Parent (DOCUMENT)
- Content: "aaa"
- Block is followed by at least one empty line
+ HEADER_OPEN (line/column: 6/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "aaa"
- Number: 1
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---- inline to parse: [aaa]
---- inline to parse: [aaa]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> # Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 |
+---> resulting html: [<p>aaa</p>
<h1>aaa</h1>
] matched!
markdown #228: [>⎵ #⎵ Foo↵ >⎵ bar↵ >⎵ baz↵ ]
indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Count: 1)
- Number: 1
+ HEADER_OPEN (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="> bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ link following blockquote? 0x5ca51f168570
- * ---------------------------- B TREE:
+ PARAGRAPH (line/column: 2/3)
- Content: "bar"
- * ---------------------------- B TREE END ---
- * ---------------------------- LAST BLOCK TREE:
+ HEADER_OPEN (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
- * ---------------------------- LAST BLOCK TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Last: PARAGRAPH, Count: 2)
- Number: 1
+ HEADER_OPEN (line/column: 1/3)
- Next Sibling (PARAGRAPH), Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
+ PARAGRAPH (line/column: 2/3)
- Previous Sibling (HEADER_OPEN), Parent (BLOCKQUOTE)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="> baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ link following blockquote? 0x5ca51f162eb0
- * ---------------------------- B TREE:
+ PARAGRAPH (line/column: 3/3)
- Content: "baz"
- * ---------------------------- B TREE END ---
- * ---------------------------- LAST BLOCK TREE:
+ PARAGRAPH (line/column: 2/3)
- Previous Sibling (HEADER_OPEN), Parent (BLOCKQUOTE)
- Content: "bar"
- * ---------------------------- LAST BLOCK TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Last: PARAGRAPH, Count: 2)
- Number: 1
+ HEADER_OPEN (line/column: 1/3)
- Next Sibling (PARAGRAPH), Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
+ PARAGRAPH (line/column: 2/3)
- Previous Sibling (HEADER_OPEN), Parent (BLOCKQUOTE)
- Content: "bar
baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Last: PARAGRAPH, Count: 2)
- Number: 1
+ HEADER_OPEN (line/column: 1/3)
- Next Sibling (PARAGRAPH), Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
+ PARAGRAPH (line/column: 2/3)
- Previous Sibling (HEADER_OPEN), Parent (BLOCKQUOTE)
- Content: "bar
baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---- inline to parse: [bar
baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="># Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 2 indent 1 -- it position: |
+---> resulting html: [<blockquote>
<h1>Foo</h1>
<p>bar
baz</p>
</blockquote>
] matched!
markdown #229: [>#⎵ Foo↵ >bar↵ >⎵ baz↵ ]
1
+++ gap so far 0 blanks, working column: 2, it column 2, list indent: 1 -- it position: 1
working block is a list? no and list_indent is 1 -- it position: 1
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 1
+++ not a list or blockquote? -- it position: 1
any containers (other than line)? -- it position: 1
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f15f84c
it on entry: [0x5ca51f15f84c]
--- not HTML block? -- it position: 1 -- 0x5ca51f15f84c
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 2 & 1 & no parent
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Count: 1)
- Number: 1
+ HEADER_OPEN (line/column: 1/2)
- Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=">bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 0 blanks, working column: 2, it column 2, list indent: 2147483647 -- it position: 1
working block is a list? no and list_indent is 2147483647 -- it position: 1
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 1
+++ not a list or blockquote? -- it position: 1
any containers (other than line)? -- it position: 1
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f15f84c
it on entry: [0x5ca51f15f84c]
--- not HTML block? -- it position: 1 -- 0x5ca51f15f84c
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 1
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 1 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f84c -- 0x5ca51f15f870
link child
save working child
end paragraph handling
---- paragraph
+++ link following blockquote? 0x5ca51f15fd40
- * ---------------------------- B TREE:
+ PARAGRAPH (line/column: 2/2)
- Content: "bar"
- * ---------------------------- B TREE END ---
- * ---------------------------- LAST BLOCK TREE:
+ HEADER_OPEN (line/column: 1/2)
- Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
- * ---------------------------- LAST BLOCK TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Last: PARAGRAPH, Count: 2)
- Number: 1
+ HEADER_OPEN (line/column: 1/2)
- Next Sibling (PARAGRAPH), Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
+ PARAGRAPH (line/column: 2/2)
- Previous Sibling (HEADER_OPEN), Parent (BLOCKQUOTE)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="> baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ link following blockquote? 0x5ca51f168570
- * ---------------------------- B TREE:
+ PARAGRAPH (line/column: 3/3)
- Content: "baz"
- * ---------------------------- B TREE END ---
- * ---------------------------- LAST BLOCK TREE:
+ PARAGRAPH (line/column: 2/2)
- Previous Sibling (HEADER_OPEN), Parent (BLOCKQUOTE)
- Content: "bar"
- * ---------------------------- LAST BLOCK TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Last: PARAGRAPH, Count: 2)
- Number: 1
+ HEADER_OPEN (line/column: 1/2)
- Next Sibling (PARAGRAPH), Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
+ PARAGRAPH (line/column: 2/2)
- Previous Sibling (HEADER_OPEN), Parent (BLOCKQUOTE)
- Content: "bar
baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Last: PARAGRAPH, Count: 2)
- Number: 1
+ HEADER_OPEN (line/column: 1/2)
- Next Sibling (PARAGRAPH), Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
+ PARAGRAPH (line/column: 2/2)
- Previous Sibling (HEADER_OPEN), Parent (BLOCKQUOTE)
- Content: "bar
baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---- inline to parse: [bar
baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" > # Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2 |
+---> resulting html: [<blockquote>
<h1>Foo</h1>
<p>bar
baz</p>
</blockquote>
] matched!
markdown #230: [⎵ ⎵ ⎵ >⎵ #⎵ Foo↵ ⎵ ⎵ ⎵ >⎵ bar↵ ⎵ >⎵ baz↵ ]
, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
+++ found a blockquote...
column: 6 indent 1 -- it position: 5
+++ gap so far 0 blanks, working column: 6, it column 6, list indent: 1 -- it position: 5
working block is a list? no and list_indent is 1 -- it position: 5
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 5
+++ not a list or blockquote? -- it position: 5
any containers (other than line)? -- it position: 5
--- not empty? -- it position: 5
--- not indented block? -- it position: 5
--- not fenced block? -- it position: 5 -- 0x5ca51f16172c
it on entry: [0x5ca51f16172c]
--- not HTML block? -- it position: 5 -- 0x5ca51f16172c
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 6 & 4 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Count: 1)
- Number: 1
+ HEADER_OPEN (line/column: 1/6)
- Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" > bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
+++ found a blockquote...
column: 6 indent 2147483647 -- it position: 5
+++ gap so far 0 blanks, working column: 6, it column 6, list indent: 2147483647 -- it position: 5
working block is a list? no and list_indent is 2147483647 -- it position: 5
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 5
+++ not a list or blockquote? -- it position: 5
any containers (other than line)? -- it position: 5
--- not empty? -- it position: 5
--- not indented block? -- it position: 5
--- not fenced block? -- it position: 5 -- 0x5ca51f16172c
it on entry: [0x5ca51f16172c]
--- not HTML block? -- it position: 5 -- 0x5ca51f16172c
--- not header? -- it position: 5
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 5
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 5 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1616f0 -- 0x5ca51f16172c -- 0x5ca51f161750
link child
save working child
end paragraph handling
---- paragraph
+++ link following blockquote? 0x5ca51f166f40
- * ---------------------------- B TREE:
+ PARAGRAPH (line/column: 2/6)
- Content: "bar"
- * ---------------------------- B TREE END ---
- * ---------------------------- LAST BLOCK TREE:
+ HEADER_OPEN (line/column: 1/6)
- Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
- * ---------------------------- LAST BLOCK TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Last: PARAGRAPH, Count: 2)
- Number: 1
+ HEADER_OPEN (line/column: 1/6)
- Next Sibling (PARAGRAPH), Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
+ PARAGRAPH (line/column: 2/6)
- Previous Sibling (HEADER_OPEN), Parent (BLOCKQUOTE)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" > baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
+++ found a blockquote...
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 0 blanks, working column: 4, it column 4, list indent: 2147483647 -- it position: 3
working block is a list? no and list_indent is 2147483647 -- it position: 3
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f161714
it on entry: [0x5ca51f161714]
--- not HTML block? -- it position: 3 -- 0x5ca51f161714
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1616f0 -- 0x5ca51f161714 -- 0x5ca51f161738
link child
save working child
end paragraph handling
---- paragraph
+++ link following blockquote? 0x5ca51f162eb0
- * ---------------------------- B TREE:
+ PARAGRAPH (line/column: 3/4)
- Content: "baz"
- * ---------------------------- B TREE END ---
- * ---------------------------- LAST BLOCK TREE:
+ PARAGRAPH (line/column: 2/6)
- Previous Sibling (HEADER_OPEN), Parent (BLOCKQUOTE)
- Content: "bar"
- * ---------------------------- LAST BLOCK TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Last: PARAGRAPH, Count: 2)
- Number: 1
+ HEADER_OPEN (line/column: 1/6)
- Next Sibling (PARAGRAPH), Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
+ PARAGRAPH (line/column: 2/6)
- Previous Sibling (HEADER_OPEN), Parent (BLOCKQUOTE)
- Content: "bar
baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Last: PARAGRAPH, Count: 2)
- Number: 1
+ HEADER_OPEN (line/column: 1/6)
- Next Sibling (PARAGRAPH), Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
+ PARAGRAPH (line/column: 2/6)
- Previous Sibling (HEADER_OPEN), Parent (BLOCKQUOTE)
- Content: "bar
baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---- inline to parse: [bar
baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" > # Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent |
+---> resulting html: [<blockquote>
<h1>Foo</h1>
<p>bar
baz</p>
</blockquote>
] matched!
markdown #231: [⎵ ⎵ ⎵ ⎵ >⎵ #⎵ Foo↵ ⎵ ⎵ ⎵ ⎵ >⎵ bar↵ ⎵ ⎵ ⎵ ⎵ >⎵ baz↵ ]
1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "> # Foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" > bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [> bar
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "> # Foo
> bar
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" > baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [> baz
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "> # Foo
> bar
> baz
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "> # Foo
> bar
> baz
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> # Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent |
+---> resulting html: [<pre><code>> # Foo
> bar
> baz
</code></pre>
] matched!
markdown #232: [>⎵ #⎵ Foo↵ >⎵ bar↵ baz↵ ]
1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
---- header
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Count: 1)
- Number: 1
+ HEADER_OPEN (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="> bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ link following blockquote? 0x5ca51f162f90
- * ---------------------------- B TREE:
+ PARAGRAPH (line/column: 2/3)
- Content: "bar"
- * ---------------------------- B TREE END ---
- * ---------------------------- LAST BLOCK TREE:
+ HEADER_OPEN (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
- * ---------------------------- LAST BLOCK TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Last: PARAGRAPH, Count: 2)
- Number: 1
+ HEADER_OPEN (line/column: 1/3)
- Next Sibling (PARAGRAPH), Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
+ PARAGRAPH (line/column: 2/3)
- Previous Sibling (HEADER_OPEN), Parent (BLOCKQUOTE)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f864
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Last: PARAGRAPH, Count: 2)
- Number: 1
+ HEADER_OPEN (line/column: 1/3)
- Next Sibling (PARAGRAPH), Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
+ PARAGRAPH (line/column: 2/3)
- Previous Sibling (HEADER_OPEN), Parent (BLOCKQUOTE)
- Content: "bar
baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Last: PARAGRAPH, Count: 2)
- Number: 1
+ HEADER_OPEN (line/column: 1/3)
- Next Sibling (PARAGRAPH), Parent (BLOCKQUOTE)
- Content: "Foo"
- Number: 1
+ PARAGRAPH (line/column: 2/3)
- Previous Sibling (HEADER_OPEN), Parent (BLOCKQUOTE)
- Content: "bar
baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---- inline to parse: [bar
baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> bar", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 |
+---> resulting html: [<blockquote>
<h1>Foo</h1>
<p>bar
baz</p>
</blockquote>
] matched!
markdown #233: [>⎵ bar↵ baz↵ >⎵ foo↵ ]
-- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f166f40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f864
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar
baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="> foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ link following blockquote? 0x5ca51f168cd0
- * ---------------------------- B TREE:
+ PARAGRAPH (line/column: 3/3)
- Content: "foo"
- * ---------------------------- B TREE END ---
- * ---------------------------- LAST BLOCK TREE:
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar
baz"
- * ---------------------------- LAST BLOCK TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar
baz
foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar
baz
foo"
- * -------------------------------------------- TREE END ---
---- inline to parse: [bar
baz
foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
|
+---> resulting html: [<blockquote>
<p>bar
baz
foo</p>
</blockquote>
] matched!
markdown #234: [>⎵ foo↵ ---↵ ]
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="---", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: IN BLOCKQUOTE & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 3
+++ link new? 0x5ca51f166f40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
+ BREAK_DASH (line/column: 2/1)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: BREAK_DASH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (BREAK_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
+ BREAK_DASH (line/column: 2/1)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> - foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3 |
+---> resulting html: [<blockquote>
<p>foo</p>
</blockquote>
<hr />
] matched!
markdown #235: [>⎵ -⎵ foo↵ -⎵ bar↵ ]
, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 5 indent 1 -- it position: 4
+++ gap so far 0 blanks, working column: 4, it column 5, list indent: 1 -- it position: 4
working block is a list? YES and list_indent is 1 -- it position: 4
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 5 & 3 & no parent
+++ link new? 0x5ca51f166f40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: LIST_DASH, Count: 1)
- Number: 1
+ LIST_DASH (line/column: 1/3-4)
- Parent (BLOCKQUOTE), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- bar", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 4
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: LIST_DASH, Count: 1)
- Number: 1
+ LIST_DASH (line/column: 1/3-4)
- Parent (BLOCKQUOTE), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: LIST_DASH, Count: 1)
- Number: 1
+ LIST_DASH (line/column: 1/3-4)
- Parent (BLOCKQUOTE), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent |
+---> resulting html: [<blockquote>
<ul>
<li>foo</li>
</ul>
</blockquote>
<ul>
<li>bar</li>
</ul>
] matched!
markdown #236: [>⎵ ⎵ ⎵ ⎵ ⎵ foo↵ ⎵ ⎵ ⎵ ⎵ bar↵ ]
1 -- it position: 2
+++ gap so far 1 blanks, working column: 3, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 2 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
column: 5 indent 1 -- it position: 4
+++ gap so far 3 blanks, working column: 3, it column 6, list indent: 1 -- it position: 5
column: 6 indent 1 -- it position: 5
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/3, it column 7, list indent + 4: 5 -- it position: 6) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
+++ adding a CODE BLOCK here (indent: 0)
---- blockquote (3) + code block (7)
---- got indent of 7 vs column 7
---- got indented code block
+++ add child to child? (list sub-block: 0)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 1/7)
- Parent (BLOCKQUOTE)
- Content: "foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 5 & 1 & 3
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 1/7)
- Parent (BLOCKQUOTE)
- Content: "foo
"
+ CODE_BLOCK_INDENTED (line/column: 2/5)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "bar
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 1/7)
- Parent (BLOCKQUOTE)
- Content: "foo
"
+ CODE_BLOCK_INDENTED (line/column: 2/5)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "bar
"
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> ```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3 |
+---> resulting html: [<blockquote>
<pre><code>foo
</code></pre>
</blockquote>
<pre><code>bar
</code></pre>
] matched!
markdown #237: [>⎵ ```↵ foo↵ ```↵ ]
, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- adding info string [] -- indentation: 3
--- got next line [foo]
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Number: 1
+ CODE_BLOCK_GRAVE (line/column: 1/3)
- Parent (BLOCKQUOTE)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f864
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 3
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Number: 1
+ CODE_BLOCK_GRAVE (line/column: 1/3)
- Parent (BLOCKQUOTE)
+ PARAGRAPH (line/column: 2/1)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="```", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- adding info string [] -- indentation: 1
--- got next line []
--- found eof?!
--- done
---- got fenced code block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: CODE_BLOCK_GRAVE, Count: 3)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Number: 1
+ CODE_BLOCK_GRAVE (line/column: 1/3)
- Parent (BLOCKQUOTE)
+ PARAGRAPH (line/column: 2/1)
- Next Sibling (CODE_BLOCK_GRAVE), Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "foo"
+ CODE_BLOCK_GRAVE (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: CODE_BLOCK_GRAVE, Count: 3)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Number: 1
+ CODE_BLOCK_GRAVE (line/column: 1/3)
- Parent (BLOCKQUOTE)
+ PARAGRAPH (line/column: 2/1)
- Next Sibling (CODE_BLOCK_GRAVE), Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "foo"
+ CODE_BLOCK_GRAVE (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column |
+---> resulting html: [<blockquote>
<pre><code></code></pre>
</blockquote>
<p>foo</p>
<pre><code></code></pre>
] matched!
markdown #238: [>⎵ foo↵ ⎵ ⎵ ⎵ ⎵ -⎵ bar↵ ]
3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
+++ got a gap of 4 >= 4 blanks! (working column: 1, it column 5, list indent + 4: 2147483651 -- it position: 4)
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
setup character
create paragraph
add content -- 0x5ca51f15fd30 -- 0x5ca51f15fd60 -- 0x5ca51f15fd9c
link child
save working child
end paragraph handling
---- early paragraph WITHOUT list sub-block = 5 >= 0 + 4
+++ append to existing block code or paragraph? [- bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo
- bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo
- bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo
- bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=">", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
any containers (other than line)? -- it position: 1
found empty line (Last? not eos?!)
blockquotes? WORKING
--- not empty? -- it position: 1
--- not indented block? |
+---> resulting html: [<blockquote>
<p>foo
- bar</p>
</blockquote>
] matched!
markdown #239: [>↵ ]
-- it position: 1
--- not fenced block? -- it position: 1 -- 0x7ffe7faa6914
it on entry: [0x7ffe7faa6914]
--- not HTML block? -- it position: 1 -- 0x7ffe7faa6914
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 1
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 1 == END REACHED!
setup character
create paragraph
add content -- 0x7ffe7faa6908 -- 0x7ffe7faa6914 -- 0x7ffe7faa6914
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 0 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=">", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
any containers (other than line)? -- it position: 1
found empty line (Last? not eos?!)
blockquotes? WORKING
--- not empty? -- it position: 1
--- not indented block? |
+---> resulting html: [<blockquote>
</blockquote>
] matched!
markdown #240: [>↵ >⎵ ⎵ ↵ >⎵ ↵ ]
-- it position: 1
--- not fenced block? -- it position: 1 -- 0x7ffe7faa6914
it on entry: [0x7ffe7faa6914]
--- not HTML block? -- it position: 1 -- 0x7ffe7faa6914
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 1
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 1 == END REACHED!
setup character
create paragraph
add content -- 0x7ffe7faa6908 -- 0x7ffe7faa6914 -- 0x7ffe7faa6914
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 0 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="> ", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far -3 blanks, working column: 3, it column 0, list indent: 2147483647 -- it position: 3
any containers (other than line)? -- it position: 3
found empty line (Last? not eos?!)
blockquotes? WORKING LAST
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> ", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
any containers (other than line)? -- it position: 2
found empty line (Last? not eos?!)
blockquotes? WORKING LAST
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=">", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
any containers (other than line)? -- it position: 1
found empty line (Last? not eos?!)
blockquotes? WORKING
--- not empty? -- it position: 1 |
+---> resulting html: [<blockquote>
</blockquote>
] matched!
markdown #241: [>↵ >⎵ foo↵ >⎵ ⎵ ↵ ]
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x7ffe7faa6914
it on entry: [0x7ffe7faa6914]
--- not HTML block? -- it position: 1 -- 0x7ffe7faa6914
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 1
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 1 == END REACHED!
setup character
create paragraph
add content -- 0x7ffe7faa6908 -- 0x7ffe7faa6914 -- 0x7ffe7faa6914
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 0 & 1 & no parent
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="> foo", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ link following blockquote? 0x5ca51f161700
- * ---------------------------- B TREE:
+ PARAGRAPH (line/column: 2/3)
- Content: "foo"
- * ---------------------------- B TREE END ---
- * ---------------------------- LAST BLOCK TREE:
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- * ---------------------------- LAST BLOCK TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="> ", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far -3 blanks, working column: 3, it column 0, list indent: 2147483647 -- it position: 3
any containers (other than line)? -- it position: 3
found empty line (Last? not eos?!)
blockquotes? WORKING LAST
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- Content: "foo"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- Content: "foo"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- Content: "foo"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH
- Parent (BLOCKQUOTE)
- Content: "foo"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column |
+---> resulting html: [<blockquote>
<p>foo</p>
</blockquote>
] matched!
markdown #242: [>⎵ foo↵ ↵ >⎵ bar↵ ]
3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> bar", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 3 & 1 & 3
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: BLOCKQUOTE, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (BLOCKQUOTE), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 3/1-3)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 3/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: BLOCKQUOTE, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (BLOCKQUOTE), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 3/1-3)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 3/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: |
+---> resulting html: [<blockquote>
<p>foo</p>
</blockquote>
<blockquote>
<p>bar</p>
</blockquote>
] matched!
markdown #243: [>⎵ foo↵ >⎵ bar↵ ]
2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="> bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ link following blockquote? 0x5ca51f162eb0
- * ---------------------------- B TREE:
+ PARAGRAPH (line/column: 2/3)
- Content: "bar"
- * ---------------------------- B TREE END ---
- * ---------------------------- LAST BLOCK TREE:
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- * ---------------------------- LAST BLOCK TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo
bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo
bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo
bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3 |
+---> resulting html: [<blockquote>
<p>foo
bar</p>
</blockquote>
] matched!
markdown #244: [>⎵ foo↵ >↵ >⎵ bar↵ ]
, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=">", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
any containers (other than line)? -- it position: 1
found empty line (Last? not eos?!)
blockquotes? WORKING LAST
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> bar", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ link following blockquote? 0x5ca51f162f90
- * ---------------------------- B TREE:
+ PARAGRAPH (line/column: 3/3)
- Content: "bar"
- * ---------------------------- B TREE END ---
- * ---------------------------- LAST BLOCK TREE:
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "foo"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (PARAGRAPH), Parent (BLOCKQUOTE)
- Content: "foo"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/3)
- Previous Sibling (PARAGRAPH), Parent (BLOCKQUOTE)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (PARAGRAPH), Parent (BLOCKQUOTE)
- Content: "foo"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/3)
- Previous Sibling (PARAGRAPH), Parent (BLOCKQUOTE)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 |
+---> resulting html: [<blockquote>
<p>foo</p>
<p>bar</p>
</blockquote>
] matched!
markdown #245: [foo↵ >⎵ bar↵ ]
-- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f164a40
it on entry: [0x5ca51f164a40]
--- not HTML block? -- it position: 0 -- 0x5ca51f164a40
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a40 -- 0x5ca51f164a64
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="> bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 3 & 1 & 1
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "foo"
+ BLOCKQUOTE (line/column: 2/1-3)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 2/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "foo"
+ BLOCKQUOTE (line/column: 2/1-3)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 2/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> aaa", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 |
+---> resulting html: [<p>foo</p>
<blockquote>
<p>bar</p>
</blockquote>
] matched!
markdown #246: [>⎵ aaa↵ ***↵ >⎵ bbb↵ ]
-- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "aaa"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="***", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [42]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "aaa"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 2/1)
- * ---------------------------- WORKING BLOCK END ---
last block: IN BLOCKQUOTE & working block: not in block quote
linked as child!
---- break or setext
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 3
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: BREAK_ASTERISK, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "aaa"
+ BREAK_ASTERISK (line/column: 2/1)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="> bbb", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 3 & 1 & 1
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: BLOCKQUOTE, Count: 3)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "aaa"
+ BREAK_ASTERISK (line/column: 2/1)
- Next Sibling (BLOCKQUOTE), Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
+ BLOCKQUOTE (line/column: 3/1-3)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 3/3)
- Parent (BLOCKQUOTE)
- Content: "bbb"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: BLOCKQUOTE, Count: 3)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (BREAK_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "aaa"
+ BREAK_ASTERISK (line/column: 2/1)
- Next Sibling (BLOCKQUOTE), Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
+ BLOCKQUOTE (line/column: 3/1-3)
- Previous Sibling (BREAK_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 3/3)
- Parent (BLOCKQUOTE)
- Content: "bbb"
- * -------------------------------------------- TREE END ---
---- inline to parse: [aaa]
---- inline to parse: [bbb]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> bar", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3 |
+---> resulting html: [<blockquote>
<p>aaa</p>
</blockquote>
<hr />
<blockquote>
<p>bbb</p>
</blockquote>
] matched!
markdown #247: [>⎵ bar↵ baz↵ ]
, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f864
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar
baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar
baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [bar
baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> bar", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: |
+---> resulting html: [<blockquote>
<p>bar
baz</p>
</blockquote>
] matched!
markdown #248: [>⎵ bar↵ ↵ baz↵ ]
1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="baz", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f864
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 3
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [bar]
---- inline to parse: [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> bar", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: |
+---> resulting html: [<blockquote>
<p>bar</p>
</blockquote>
<p>baz</p>
] matched!
markdown #249: [>⎵ bar↵ >↵ baz↵ ]
1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=">", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
any containers (other than line)? -- it position: 1
found empty line (Last? not eos?!)
blockquotes? WORKING LAST
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="baz", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f864
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 3
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/3)
- Parent (BLOCKQUOTE)
- Content: "bar"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT)
- Content: "baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [bar]
---- inline to parse: [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> > > foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: |
+---> resulting html: [<blockquote>
<p>bar</p>
</blockquote>
<p>baz</p>
] matched!
markdown #250: [>⎵ >⎵ >⎵ foo↵ bar↵ ]
1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
+++ found a blockquote...
column: 4 indent 1 -- it position: 3
+++ gap so far 2 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
column: 5 indent 1 -- it position: 4
+++ gap so far 2 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
+++ found a blockquote...
column: 6 indent 1 -- it position: 5
+++ gap so far 2 blanks, working column: 5, it column 7, list indent: 1 -- it position: 6
column: 7 indent 1 -- it position: 6
+++ gap so far 2 blanks, working column: 5, it column 7, list indent: 1 -- it position: 6
working block is a list? no and list_indent is 1 -- it position: 6
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 6
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f162ee8
it on entry: [0x5ca51f162ee8]
--- not HTML block? -- it position: 6 -- 0x5ca51f162ee8
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162ea0 -- 0x5ca51f162ee8 -- 0x5ca51f162f0c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 7 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 3
+ PARAGRAPH (line/column: 1/7)
- Parent (BLOCKQUOTE)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162ea0
it on entry: [0x5ca51f162ea0]
--- not HTML block? -- it position: 0 -- 0x5ca51f162ea0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162ea0 -- 0x5ca51f162ea0 -- 0x5ca51f162ec4
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 3
+ PARAGRAPH (line/column: 1/7)
- Parent (BLOCKQUOTE)
- Content: "foo
bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 3
+ PARAGRAPH (line/column: 1/7)
- Parent (BLOCKQUOTE)
- Content: "foo
bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo
bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=">>> foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 2 indent 1 -- it position: 1
|
+---> resulting html: [<blockquote>
<blockquote>
<blockquote>
<p>foo
bar</p>
</blockquote>
</blockquote>
</blockquote>
] matched!
markdown #251: [>>>⎵ foo↵ >⎵ bar↵ >>baz↵ ]
+++ gap so far 0 blanks, working column: 2, it column 2, list indent: 1 -- it position: 1
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 1 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
+++ found a blockquote...
column: 4 indent 1 -- it position: 3
+++ gap so far 2 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
column: 5 indent 1 -- it position: 4
+++ gap so far 2 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
working block is a list? no and list_indent is 1 -- it position: 4
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 3
+ PARAGRAPH (line/column: 1/5)
- Parent (BLOCKQUOTE)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="> bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ link following blockquote? 0x5ca51f1683b0
- * ---------------------------- B TREE:
+ PARAGRAPH (line/column: 2/3)
- Content: "bar"
- * ---------------------------- B TREE END ---
- * ---------------------------- LAST BLOCK TREE:
+ PARAGRAPH (line/column: 1/5)
- Parent (BLOCKQUOTE)
- Content: "foo"
- * ---------------------------- LAST BLOCK TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 3
+ PARAGRAPH (line/column: 1/5)
- Parent (BLOCKQUOTE)
- Content: "foo
bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=">>baz", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 0 blanks, working column: 2, it column 2, list indent: 2147483647 -- it position: 1
+++ found a blockquote...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 1 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ link following blockquote? 0x5ca51f168490
- * ---------------------------- B TREE:
+ PARAGRAPH (line/column: 3/3)
- Content: "baz"
- * ---------------------------- B TREE END ---
- * ---------------------------- LAST BLOCK TREE:
+ PARAGRAPH (line/column: 1/5)
- Parent (BLOCKQUOTE)
- Content: "foo
bar"
- * ---------------------------- LAST BLOCK TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 3
+ PARAGRAPH (line/column: 1/5)
- Parent (BLOCKQUOTE)
- Content: "foo
bar
baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 3
+ PARAGRAPH (line/column: 1/5)
- Parent (BLOCKQUOTE)
- Content: "foo
bar
baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo
bar
baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> code", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
|
+---> resulting html: [<blockquote>
<blockquote>
<blockquote>
<p>foo
bar
baz</p>
</blockquote>
</blockquote>
</blockquote>
] matched!
markdown #252: [>⎵ ⎵ ⎵ ⎵ ⎵ code↵ ↵ >⎵ ⎵ ⎵ ⎵ not⎵ code↵ ]
column: 3 indent 1 -- it position: 2
+++ gap so far 1 blanks, working column: 3, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 2 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
column: 5 indent 1 -- it position: 4
+++ gap so far 3 blanks, working column: 3, it column 6, list indent: 1 -- it position: 5
column: 6 indent 1 -- it position: 5
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/3, it column 7, list indent + 4: 5 -- it position: 6) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
+++ adding a CODE BLOCK here (indent: 0)
---- blockquote (3) + code block (7)
---- got indent of 7 vs column 7
---- got indented code block
+++ add child to child? (list sub-block: 0)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 1/7)
- Parent (BLOCKQUOTE)
- Content: "code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/7)
- Parent (BLOCKQUOTE)
- Content: "code
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 1/7)
- Parent (BLOCKQUOTE)
- Content: "code
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/7)
- Parent (BLOCKQUOTE)
- Content: "code
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> not code", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 1 blanks, working column: 3, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 2 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
column: 5 indent 1 -- it position: 4
+++ gap so far 3 blanks, working column: 3, it column 6, list indent: 1 -- it position: 5
column: 6 indent 1 -- it position: 5
+++ gap so far 3 blanks, working column: 3, it column 6, list indent: 1 -- it position: 5
working block is a list? no and list_indent is 1 -- it position: 5
>> parse for list [110]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 5
+++ not a list or blockquote? -- it position: 5
any containers (other than line)? -- it position: 5
--- not empty? -- it position: 5
--- not indented block? -- it position: 5
--- not fenced block? -- it position: 5 -- 0x5ca51f16859c
it on entry: [0x5ca51f16859c]
--- not HTML block? -- it position: 5 -- 0x5ca51f16859c
--- not header? -- it position: 5
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 5
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 5 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f168560 -- 0x5ca51f16859c -- 0x5ca51f1685fc
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 6 & 1 & 3
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: BLOCKQUOTE, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (BLOCKQUOTE), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/7)
- Parent (BLOCKQUOTE)
- Content: "code
"
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 3/1-3)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 3/6)
- Parent (BLOCKQUOTE)
- Content: "not code"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Last: BLOCKQUOTE, Count: 2)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Next Sibling (BLOCKQUOTE), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/7)
- Parent (BLOCKQUOTE)
- Content: "code
"
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 3/1-3)
- Previous Sibling (BLOCKQUOTE), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 3/6)
- Parent (BLOCKQUOTE)
- Content: "not code"
- * -------------------------------------------- TREE END ---
---- inline to parse: [not code]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="A paragraph", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [65]...
>> not a list mark...
but after calling parse_list() we have list_indent = |
+---> resulting html: [<blockquote>
<pre><code>code
</code></pre>
</blockquote>
<blockquote>
<p>not code</p>
</blockquote>
] matched!
markdown #253: [A⎵ paragraph↵ with⎵ two⎵ lines.↵ ↵ ⎵ ⎵ ⎵ ⎵ indented⎵ code↵ ↵ >⎵ A⎵ block⎵ quote.↵ ]
1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f168480
it on entry: [0x5ca51f168480]
--- not HTML block? -- it position: 0 -- 0x5ca51f168480
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f168480 -- 0x5ca51f168480 -- 0x5ca51f168504
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166f40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "A paragraph"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="with two lines.", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [119]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f168480
it on entry: [0x5ca51f168480]
--- not HTML block? -- it position: 0 -- 0x5ca51f168480
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f168480 -- 0x5ca51f168480 -- 0x5ca51f168534
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [with two lines.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "A paragraph
with two lines."
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "A paragraph
with two lines."
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "A paragraph
with two lines."
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" indented code", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 5 & 1 & 1
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "A paragraph
with two lines."
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 4/5)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "A paragraph
with two lines."
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 4/5)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "indented code
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 4/5)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "indented code
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "A paragraph
with two lines."
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 4/5)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "indented code
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> A block quote.", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [65]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f161ac8
it on entry: [0x5ca51f161ac8]
--- not HTML block? -- it position: 2 -- 0x5ca51f161ac8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ac8 -- 0x5ca51f161b70
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 3 & 1 & 1
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "A paragraph
with two lines."
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 4/5)
- Next Sibling (BLOCKQUOTE), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "indented code
"
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 6/1-3)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 6/3)
- Parent (BLOCKQUOTE)
- Content: "A block quote."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "A paragraph
with two lines."
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 4/5)
- Next Sibling (BLOCKQUOTE), Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "indented code
"
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 6/1-3)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 6/3)
- Parent (BLOCKQUOTE)
- Content: "A block quote."
- * -------------------------------------------- TREE END ---
---- inline to parse: [A paragraph
with two lines.]
---- inline to parse: [A block quote.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="1. A paragraph", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
|
+---> resulting html: [<p>A paragraph
with two lines.</p>
<pre><code>indented code
</code></pre>
<blockquote>
<p>A block quote.</p>
</blockquote>
] matched!
markdown #254: [1.⎵ ⎵ A⎵ paragraph↵ ⎵ ⎵ ⎵ ⎵ with⎵ two⎵ lines.↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ indented⎵ code↵ ↵ ⎵ ⎵ ⎵ ⎵ >⎵ A⎵ block⎵ quote.↵ ]
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 4 indent 1 -- it position: 3
+++ gap so far 1 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
column: 5 indent 1 -- it position: 4
+++ gap so far 1 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
working block is a list? YES and list_indent is 1 -- it position: 4
>> parse for list [65]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f1684b0
it on entry: [0x5ca51f1684b0]
--- not HTML block? -- it position: 4 -- 0x5ca51f1684b0
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f168480 -- 0x5ca51f1684b0 -- 0x5ca51f168534
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PERIOD)
- Content: "A paragraph"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" with two lines.", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? no and list_indent is 2147483647 -- it position: 4
>> parse for list [119]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f161ae0
it on entry: [0x5ca51f161ae0]
--- not HTML block? -- it position: 4 -- 0x5ca51f161ae0
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ae0 -- 0x5ca51f161b94
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [with two lines.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line=" indented code", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 5 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 5 -- it position: 1
column: 2 indent 5 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 5 -- it position: 2
column: 3 indent 5 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 5 -- it position: 3
column: 4 indent 5 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
column: 5 indent 5 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 5 -- it position: 5
column: 6 indent 5 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 5 -- it position: 6
column: 7 indent 5 -- it position: 6
+++ gap so far 7 blanks, working column: 1, it column 8, list indent: 5 -- it position: 7
column: 8 indent 5 -- it position: 7
+++ got a gap of 8 >= 4 blanks! (working column/end: 1/1, it column 9, list indent + 4: 9 -- it position: 8) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 9
any containers (other than line)? -- it position: 8
--- not empty? -- it position: 8
+++ adding a CODE BLOCK here (indent: 9)
---- got indent of 9 vs column 9
---- got indented code block
+++ add child to list? (list sub-block: 9)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/9)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/9)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 4/9)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/9)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line=" > A block quote.", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 5 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 5 -- it position: 1
column: 2 indent 5 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 5 -- it position: 2
column: 3 indent 5 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 5 -- it position: 3
column: 4 indent 5 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
column: 5 indent 5 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
+++ found a blockquote...
column: 7 indent 5 -- it position: 6
+++ gap so far 0 blanks, working column: 7, it column 7, list indent: 5 -- it position: 6
working block is a list? no and list_indent is 5 -- it position: 6
>> parse for list [65]...
>> not a list mark...
but after calling parse_list() we have list_indent = 5 -- it position: 6
then compare 7 vs list_indent + 4 = 9 -- it position: 6
+++ this is a list item followed by this additional paragraph: 0 or 7 >= 5 blanks! (working column: 7 -- it position: 6)
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f161af8
it on entry: [0x5ca51f161af8]
--- not HTML block? -- it position: 6 -- 0x5ca51f161af8
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161af8 -- 0x5ca51f161ba0
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 5)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/9)
- Next Sibling (BLOCKQUOTE), Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
+ BLOCKQUOTE (line/column: 6/5-7)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 6/7)
- Parent (BLOCKQUOTE)
- Content: "A block quote."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/9)
- Next Sibling (BLOCKQUOTE), Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
+ BLOCKQUOTE (line/column: 6/5-7)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 6/7)
- Parent (BLOCKQUOTE)
- Content: "A block quote."
- * -------------------------------------------- TREE END ---
---- inline to parse: [A paragraph
with two lines.]
---- inline to parse: [A block quote.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- one", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [ |
+---> resulting html: [<ol>
<li>
<p>A paragraph
with two lines.</p>
<pre><code>indented code
</code></pre>
<blockquote>
<p>A block quote.</p>
</blockquote>
</li>
</ol>
] matched!
markdown #255: [-⎵ one↵ ↵ ⎵ two↵ ]
45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15eef8
it on entry: [0x5ca51f15eef8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15eef8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eef8 -- 0x5ca51f15ef1c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line=" two", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 3 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 3 -- it position: 1
column: 2 indent 3 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 3 -- it position: 1
working block is a list? no and list_indent is 3 -- it position: 1
>> parse for list [116]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 1
then compare 2 vs list_indent + 4 = 7 -- it position: 1
+++ not a list or blockquote? -- it position: 1
any containers (other than line)? -- it position: 1
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f15eeec
it on entry: [0x5ca51f15eeec]
--- not HTML block? -- it position: 1 -- 0x5ca51f15eeec
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 1
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 1 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eeec -- 0x5ca51f15ef10
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? LIST
columns (w/wp/lp): 2 & 1 & 2
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "one"
+ PARAGRAPH (line/column: 3/2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "two"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "one"
+ PARAGRAPH (line/column: 3/2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "two"
- * -------------------------------------------- TREE END ---
---- inline to parse: [one]
---- inline to parse: [two]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- one", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45 |
+---> resulting html: [<ul>
<li>one</li>
</ul>
<p>two</p>
] matched!
markdown #256: [-⎵ one↵ ↵ ⎵ ⎵ two↵ ]
]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15eef8
it on entry: [0x5ca51f15eef8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15eef8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eef8 -- 0x5ca51f15ef1c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line=" two", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 3 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 3 -- it position: 1
column: 2 indent 3 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
column: 3 indent 3 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
working block is a list? no and list_indent is 3 -- it position: 2
>> parse for list [116]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 2
then compare 3 vs list_indent + 4 = 7 -- it position: 2
+++ this is a list item followed by this additional paragraph: 3 or 3 >= 3 blanks! (working column: 1 -- it position: 2)
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15eef8
it on entry: [0x5ca51f15eef8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15eef8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eef8 -- 0x5ca51f15ef1c
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 3)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "one"
+ PARAGRAPH (line/column: 3/3)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "two"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "one"
+ PARAGRAPH (line/column: 3/3)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "two"
- * -------------------------------------------- TREE END ---
---- inline to parse: [one]
---- inline to parse: [two]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" - one", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 |
+---> resulting html: [<ul>
<li>
<p>one</p>
<p>two</p>
</li>
</ul>
] matched!
markdown #257: [⎵ -⎵ ⎵ ⎵ ⎵ one↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ two↵ ]
-- it position: 1
working block is a list? no and list_indent is 1 -- it position: 1
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 4 indent 1 -- it position: 3
+++ gap so far 1 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
column: 5 indent 1 -- it position: 4
+++ gap so far 2 blanks, working column: 3, it column 6, list indent: 1 -- it position: 5
column: 6 indent 1 -- it position: 5
+++ gap so far 3 blanks, working column: 3, it column 7, list indent: 1 -- it position: 6
column: 7 indent 1 -- it position: 6
+++ gap so far 3 blanks, working column: 3, it column 7, list indent: 1 -- it position: 6
working block is a list? YES and list_indent is 1 -- it position: 6
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 6
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f162fc8
it on entry: [0x5ca51f162fc8]
--- not HTML block? -- it position: 6 -- 0x5ca51f162fc8
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162f80 -- 0x5ca51f162fc8 -- 0x5ca51f162fec
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 7 & 2 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/2-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/2-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/2-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=7, f_last_line=" two", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 7 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 7 -- it position: 1
column: 2 indent 7 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 7 -- it position: 2
column: 3 indent 7 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 7 -- it position: 3
column: 4 indent 7 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 7 -- it position: 4
column: 5 indent 7 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 7 -- it position: 5
column: 6 indent 7 -- it position: 5
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 7 -- it position: 5
working block is a list? no and list_indent is 7 -- it position: 5
>> parse for list [116]...
>> not a list mark...
but after calling parse_list() we have list_indent = 7 -- it position: 5
then compare 6 vs list_indent + 4 = 11 -- it position: 5
+++ got a gap of 5 >= 4 blanks! (list indent: 7 and sub-block is 0) BOTTOM
any containers (other than line)? -- it position: 5
--- not empty? -- it position: 5
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 6
---- got indented code block
+++ working parent is list? no
last parent is list? LIST
columns (w/wp/lp): 6 & 1 & 3
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/2-3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_DASH)
- Content: "one"
+ CODE_BLOCK_INDENTED (line/column: 3/6)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: " two
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/2-3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_DASH)
- Content: "one"
+ CODE_BLOCK_INDENTED (line/column: 3/6)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: " two
"
- * -------------------------------------------- TREE END ---
---- inline to parse: [one]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" - one", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 |
+---> resulting html: [<ul>
<li>one</li>
</ul>
<pre><code> two
</code></pre>
] matched!
markdown #258: [⎵ -⎵ ⎵ ⎵ ⎵ one↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ two↵ ]
indent 1 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
working block is a list? no and list_indent is 1 -- it position: 1
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 4 indent 1 -- it position: 3
+++ gap so far 1 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
column: 5 indent 1 -- it position: 4
+++ gap so far 2 blanks, working column: 3, it column 6, list indent: 1 -- it position: 5
column: 6 indent 1 -- it position: 5
+++ gap so far 3 blanks, working column: 3, it column 7, list indent: 1 -- it position: 6
column: 7 indent 1 -- it position: 6
+++ gap so far 3 blanks, working column: 3, it column 7, list indent: 1 -- it position: 6
working block is a list? YES and list_indent is 1 -- it position: 6
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 6
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f1684c8
it on entry: [0x5ca51f1684c8]
--- not HTML block? -- it position: 6 -- 0x5ca51f1684c8
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f168480 -- 0x5ca51f1684c8 -- 0x5ca51f1684ec
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 7 & 2 & no parent
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/2-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/2-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/2-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=7, f_last_line=" two", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 7 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 7 -- it position: 1
column: 2 indent 7 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 7 -- it position: 2
column: 3 indent 7 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 7 -- it position: 3
column: 4 indent 7 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 7 -- it position: 4
column: 5 indent 7 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 7 -- it position: 5
column: 6 indent 7 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 7 -- it position: 6
column: 7 indent 7 -- it position: 6
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 7 -- it position: 6
working block is a list? no and list_indent is 7 -- it position: 6
>> parse for list [116]...
>> not a list mark...
but after calling parse_list() we have list_indent = 7 -- it position: 6
then compare 7 vs list_indent + 4 = 11 -- it position: 6
+++ this is a list item followed by this additional paragraph: 7 or 7 >= 7 blanks! (working column: 1 -- it position: 6)
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f1684c8
it on entry: [0x5ca51f1684c8]
--- not HTML block? -- it position: 6 -- 0x5ca51f1684c8
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f168480 -- 0x5ca51f1684c8 -- 0x5ca51f1684ec
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 7)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/2-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "one"
+ PARAGRAPH (line/column: 3/7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "two"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=7, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/2-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "one"
+ PARAGRAPH (line/column: 3/7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "two"
- * -------------------------------------------- TREE END ---
---- inline to parse: [one]
---- inline to parse: [two]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" > > 1. one", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
|
+---> resulting html: [<ul>
<li>
<p>one</p>
<p>two</p>
</li>
</ul>
] matched!
markdown #259: [⎵ ⎵ ⎵ >⎵ >⎵ 1.⎵ ⎵ one↵ >>↵ >>⎵ ⎵ ⎵ ⎵ ⎵ two↵ ]
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
+++ found a blockquote...
column: 6 indent 1 -- it position: 5
+++ gap so far 0 blanks, working column: 6, it column 6, list indent: 1 -- it position: 5
+++ found a blockquote...
column: 7 indent 1 -- it position: 6
+++ gap so far 2 blanks, working column: 6, it column 8, list indent: 1 -- it position: 7
column: 8 indent 1 -- it position: 7
+++ gap so far 2 blanks, working column: 6, it column 8, list indent: 1 -- it position: 7
working block is a list? no and list_indent is 1 -- it position: 7
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 11 indent 1 -- it position: 10
+++ gap so far 1 blanks, working column: 10, it column 12, list indent: 1 -- it position: 11
column: 12 indent 1 -- it position: 11
+++ gap so far 1 blanks, working column: 10, it column 12, list indent: 1 -- it position: 11
working block is a list? YES and list_indent is 1 -- it position: 11
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 11
+++ not a list or blockquote? -- it position: 11
any containers (other than line)? -- it position: 11
--- not empty? -- it position: 11
--- not indented block? -- it position: 11
--- not fenced block? -- it position: 11 -- 0x5ca51f168d44
it on entry: [0x5ca51f168d44]
--- not HTML block? -- it position: 11 -- 0x5ca51f168d44
--- not header? -- it position: 11
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 11
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 11 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f168cc0 -- 0x5ca51f168d44 -- 0x5ca51f168d68
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 12 & 8 & no parent
+++ link new? 0x5ca51f166f40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: LIST_PERIOD, Count: 1)
- Number: 2
+ LIST_PERIOD (line/column: 1/8-10)
- Parent (BLOCKQUOTE), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/12)
- Parent (LIST_PERIOD)
- Content: "one"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=">>", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 0 blanks, working column: 2, it column 2, list indent: 2147483647 -- it position: 1
+++ found a blockquote...
any containers (other than line)? -- it position: 2
found empty line (Last? not eos?!)
blockquotes? WORKING LAST
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: LIST_PERIOD, Count: 1)
- Number: 2
+ LIST_PERIOD (line/column: 1/8-10)
- Parent (BLOCKQUOTE), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/12)
- Parent (LIST_PERIOD)
- Content: "one"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/12)
- Parent (LIST_PERIOD)
- Content: "one"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: LIST_PERIOD, Count: 1)
- Number: 2
+ LIST_PERIOD (line/column: 1/8-10)
- Parent (BLOCKQUOTE), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/12)
- Parent (LIST_PERIOD)
- Content: "one"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=6, f_last_line=">> two", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 6 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 6 -- it position: 0
+++ found a blockquote...
column: 2 indent 6 -- it position: 1
+++ gap so far 0 blanks, working column: 2, it column 2, list indent: 6 -- it position: 1
+++ found a blockquote...
column: 3 indent 6 -- it position: 2
+++ gap so far 2 blanks, working column: 2, it column 4, list indent: 6 -- it position: 3
column: 4 indent 6 -- it position: 3
+++ gap so far 3 blanks, working column: 2, it column 5, list indent: 6 -- it position: 4
column: 5 indent 6 -- it position: 4
+++ gap so far 4 blanks, working column: 2, it column 6, list indent: 6 -- it position: 5
column: 6 indent 6 -- it position: 5
+++ gap so far 5 blanks, working column: 2, it column 7, list indent: 6 -- it position: 6
column: 7 indent 6 -- it position: 6
+++ gap so far 6 blanks, working column: 2, it column 8, list indent: 6 -- it position: 7
column: 8 indent 6 -- it position: 7
+++ gap so far 6 blanks, working column: 2, it column 8, list indent: 6 -- it position: 7
working block is a list? no and list_indent is 6 -- it position: 7
>> parse for list [116]...
>> not a list mark...
but after calling parse_list() we have list_indent = 6 -- it position: 7
then compare 8 vs list_indent + 4 = 10 -- it position: 7
+++ this is a list item followed by this additional paragraph: 6 or 8 >= 6 blanks! (working column: 2 -- it position: 7)
+++ not a list or blockquote? -- it position: 7
any containers (other than line)? -- it position: 7
--- not empty? -- it position: 7
--- not indented block? -- it position: 7
--- not fenced block? -- it position: 7 -- 0x5ca51f168d14
it on entry: [0x5ca51f168d14]
--- not HTML block? -- it position: 7 -- 0x5ca51f168d14
--- not header? -- it position: 7
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 7
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 7 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f168cc0 -- 0x5ca51f168d14 -- 0x5ca51f168d38
link child
save working child
end paragraph handling
---- paragraph
+++ add paragraph to list inside blockquote? (newest) working block indent = 8 when the list indent = 8/10 blockquote indent = 4/6 and first child = 12 -> list 6 vs para 6
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: LIST_PERIOD, Count: 1)
- Number: 2
+ LIST_PERIOD (line/column: 1/8-10)
- Parent (BLOCKQUOTE), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/12)
- Next Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "one"
+ PARAGRAPH (line/column: 3/8)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "two"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=6, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: LIST_PERIOD, Count: 1)
- Number: 2
+ LIST_PERIOD (line/column: 1/8-10)
- Parent (BLOCKQUOTE), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/12)
- Next Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "one"
+ PARAGRAPH (line/column: 3/8)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "two"
- * -------------------------------------------- TREE END ---
---- inline to parse: [one]
---- inline to parse: [two]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=">>- one", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 2 indent |
+---> resulting html: [<blockquote>
<blockquote>
<ol>
<li>
<p>one</p>
<p>two</p>
</li>
</ol>
</blockquote>
</blockquote>
] matched!
markdown #260: [>>-⎵ one↵ >>↵ ⎵ ⎵ >⎵ ⎵ >⎵ two↵ ]
1 -- it position: 1
+++ gap so far 0 blanks, working column: 2, it column 2, list indent: 1 -- it position: 1
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 1 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 5 indent 1 -- it position: 4
+++ gap so far 0 blanks, working column: 4, it column 5, list indent: 1 -- it position: 4
working block is a list? YES and list_indent is 1 -- it position: 4
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15ef10
it on entry: [0x5ca51f15ef10]
--- not HTML block? -- it position: 4 -- 0x5ca51f15ef10
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15ef10 -- 0x5ca51f15ef34
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 5 & 3 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: LIST_DASH, Count: 1)
- Number: 2
+ LIST_DASH (line/column: 1/3-4)
- Parent (BLOCKQUOTE), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=">>", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 0 blanks, working column: 2, it column 2, list indent: 2147483647 -- it position: 1
+++ found a blockquote...
any containers (other than line)? -- it position: 2
found empty line (Last? not eos?!)
blockquotes? WORKING LAST
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: LIST_DASH, Count: 1)
- Number: 2
+ LIST_DASH (line/column: 1/3-4)
- Parent (BLOCKQUOTE), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: LIST_DASH, Count: 1)
- Number: 2
+ LIST_DASH (line/column: 1/3-4)
- Parent (BLOCKQUOTE), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "one"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line=" > > two", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 3 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 3 -- it position: 1
column: 2 indent 3 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
column: 3 indent 3 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
+++ found a blockquote...
column: 5 indent 3 -- it position: 4
+++ gap so far 1 blanks, working column: 5, it column 6, list indent: 3 -- it position: 5
column: 6 indent 3 -- it position: 5
+++ gap so far 1 blanks, working column: 5, it column 6, list indent: 3 -- it position: 5
+++ found a blockquote...
column: 7 indent 3 -- it position: 6
+++ gap so far 2 blanks, working column: 6, it column 8, list indent: 3 -- it position: 7
column: 8 indent 3 -- it position: 7
+++ gap so far 2 blanks, working column: 6, it column 8, list indent: 3 -- it position: 7
working block is a list? no and list_indent is 3 -- it position: 7
>> parse for list [116]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 7
then compare 8 vs list_indent + 4 = 7 -- it position: 7
+++ this is a list item followed by this additional paragraph: 2 or 8 >= 3 blanks! (working column: 6 -- it position: 7)
+++ not a list or blockquote? -- it position: 7
any containers (other than line)? -- it position: 7
--- not empty? -- it position: 7
--- not indented block? -- it position: 7
--- not fenced block? -- it position: 7 -- 0x5ca51f1685b4
it on entry: [0x5ca51f1685b4]
--- not HTML block? -- it position: 7 -- 0x5ca51f1685b4
--- not header? -- it position: 7
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 7
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 7 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f168560 -- 0x5ca51f1685b4 -- 0x5ca51f1685d8
link child
save working child
end paragraph handling
---- paragraph
+++ add paragraph to list inside blockquote? (newest) working block indent = 8 when the list indent = 3/4 blockquote indent = 1/2 and first child = 5 -> list 3 vs para 2
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: LIST_DASH, Last: PARAGRAPH, Count: 2)
- Number: 2
+ LIST_DASH (line/column: 1/3-4)
- Next Sibling (PARAGRAPH), Parent (BLOCKQUOTE), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "one"
+ PARAGRAPH (line/column: 3/8)
- Previous Sibling (LIST_DASH), Parent (BLOCKQUOTE)
- Content: "two"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: LIST_DASH, Last: PARAGRAPH, Count: 2)
- Number: 2
+ LIST_DASH (line/column: 1/3-4)
- Next Sibling (PARAGRAPH), Parent (BLOCKQUOTE), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "one"
+ PARAGRAPH (line/column: 3/8)
- Previous Sibling (LIST_DASH), Parent (BLOCKQUOTE)
- Content: "two"
- * -------------------------------------------- TREE END ---
---- inline to parse: [one]
---- inline to parse: [two]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="-one", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45 |
+---> resulting html: [<blockquote>
<blockquote>
<ul>
<li>one</li>
</ul>
<p>two</p>
</blockquote>
</blockquote>
] matched!
markdown #261: [-one↵ ↵ 2.two↵ ]
]...
>> list blank missing [111]...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f160190
it on entry: [0x5ca51f160190]
--- not HTML block? -- it position: 0 -- 0x5ca51f160190
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f160190 -- 0x5ca51f160190 -- 0x5ca51f1601c0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "-one"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "-one"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "-one"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "-one"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="2.two", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [50]...
>> numbered list...
>> list type [46]...
>> list blank missing [116]...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15eee0
it on entry: [0x5ca51f15eee0]
--- not HTML block? -- it position: 0 -- 0x5ca51f15eee0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eee0 -- 0x5ca51f15ef1c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "-one"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "2.two"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "-one"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "2.two"
- * -------------------------------------------- TREE END ---
---- inline to parse: [-one]
---- inline to parse: [2.two]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
|
+---> resulting html: [<p>-one</p>
<p>2.two</p>
] matched!
markdown #262: [-⎵ foo↵ ↵ ↵ ⎵ ⎵ bar↵ ]
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15eef8
it on entry: [0x5ca51f15eef8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15eef8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eef8 -- 0x5ca51f15ef1c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line=" bar", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 3 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 3 -- it position: 1
column: 2 indent 3 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
column: 3 indent 3 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
working block is a list? no and list_indent is 3 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 2
then compare 3 vs list_indent + 4 = 7 -- it position: 2
+++ this is a list item followed by this additional paragraph: 3 or 3 >= 3 blanks! (working column: 1 -- it position: 2)
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15eef8
it on entry: [0x5ca51f15eef8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15eef8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eef8 -- 0x5ca51f15ef1c
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 3)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 4/3)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 4/3)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="1. foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [49]...
>> numbered list...
>> list type [46]...
|
+---> resulting html: [<ul>
<li>
<p>foo</p>
<p>bar</p>
</li>
</ul>
] matched!
markdown #263: [1.⎵ ⎵ foo↵ ↵ ⎵ ⎵ ⎵ ⎵ ```↵ ⎵ ⎵ ⎵ ⎵ bar↵ ⎵ ⎵ ⎵ ⎵ ```↵ ↵ ⎵ ⎵ ⎵ ⎵ baz↵ ↵ ⎵ ⎵ ⎵ ⎵ >⎵ bam↵ ]
+++ found a list...
column: 4 indent 1 -- it position: 3
+++ gap so far 1 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
column: 5 indent 1 -- it position: 4
+++ gap so far 1 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
working block is a list? YES and list_indent is 1 -- it position: 4
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PERIOD)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PERIOD)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PERIOD)
- Content: "foo"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PERIOD)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line=" ```", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 5 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 5 -- it position: 1
column: 2 indent 5 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 5 -- it position: 2
column: 3 indent 5 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 5 -- it position: 3
column: 4 indent 5 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
column: 5 indent 5 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
working block is a list? no and list_indent is 5 -- it position: 4
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 5 -- it position: 4
then compare 5 vs list_indent + 4 = 9 -- it position: 4
+++ this is a list item followed by this additional paragraph: 5 or 5 >= 5 blanks! (working column: 1 -- it position: 4)
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- adding info string [] -- indentation: 5
--- got next line [ bar]
--- check indent: 1 vs 5
--- end count: 0
--- add: bar
--- got next line [ ```]
--- check indent: 1 vs 5
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ add child to list? (list sub-block: 5)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_GRAVE, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (CODE_BLOCK_GRAVE), Parent (LIST_PERIOD)
- Content: "foo"
+ CODE_BLOCK_GRAVE (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "bar
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_GRAVE, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (CODE_BLOCK_GRAVE), Parent (LIST_PERIOD)
- Content: "foo"
+ CODE_BLOCK_GRAVE (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "bar
"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_GRAVE (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "bar
"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_GRAVE, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (CODE_BLOCK_GRAVE), Parent (LIST_PERIOD)
- Content: "foo"
+ CODE_BLOCK_GRAVE (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "bar
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line=" baz", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 5 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 5 -- it position: 1
column: 2 indent 5 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 5 -- it position: 2
column: 3 indent 5 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 5 -- it position: 3
column: 4 indent 5 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
column: 5 indent 5 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
working block is a list? no and list_indent is 5 -- it position: 4
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 5 -- it position: 4
then compare 5 vs list_indent + 4 = 9 -- it position: 4
+++ this is a list item followed by this additional paragraph: 5 or 5 >= 5 blanks! (working column: 1 -- it position: 4)
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 5)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (CODE_BLOCK_GRAVE), Parent (LIST_PERIOD)
- Content: "foo"
+ CODE_BLOCK_GRAVE (line/column: 3/5)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "bar
"
+ PARAGRAPH (line/column: 7/5)
- Previous Sibling (CODE_BLOCK_GRAVE), Parent (LIST_PERIOD)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (CODE_BLOCK_GRAVE), Parent (LIST_PERIOD)
- Content: "foo"
+ CODE_BLOCK_GRAVE (line/column: 3/5)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "bar
"
+ PARAGRAPH (line/column: 7/5)
- Previous Sibling (CODE_BLOCK_GRAVE), Parent (LIST_PERIOD)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 7/5)
- Previous Sibling (CODE_BLOCK_GRAVE), Parent (LIST_PERIOD)
- Content: "baz"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (CODE_BLOCK_GRAVE), Parent (LIST_PERIOD)
- Content: "foo"
+ CODE_BLOCK_GRAVE (line/column: 3/5)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "bar
"
+ PARAGRAPH (line/column: 7/5)
- Previous Sibling (CODE_BLOCK_GRAVE), Parent (LIST_PERIOD)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line=" > bam", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 5 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 5 -- it position: 1
column: 2 indent 5 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 5 -- it position: 2
column: 3 indent 5 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 5 -- it position: 3
column: 4 indent 5 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
column: 5 indent 5 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
+++ found a blockquote...
column: 7 indent 5 -- it position: 6
+++ gap so far 0 blanks, working column: 7, it column 7, list indent: 5 -- it position: 6
working block is a list? no and list_indent is 5 -- it position: 6
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 5 -- it position: 6
then compare 7 vs list_indent + 4 = 9 -- it position: 6
+++ this is a list item followed by this additional paragraph: 0 or 7 >= 5 blanks! (working column: 7 -- it position: 6)
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f15fd78
it on entry: [0x5ca51f15fd78]
--- not HTML block? -- it position: 6 -- 0x5ca51f15fd78
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15fd30 -- 0x5ca51f15fd78 -- 0x5ca51f15fd9c
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 5)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 4)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (CODE_BLOCK_GRAVE), Parent (LIST_PERIOD)
- Content: "foo"
+ CODE_BLOCK_GRAVE (line/column: 3/5)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "bar
"
+ PARAGRAPH (line/column: 7/5)
- Next Sibling (BLOCKQUOTE), Previous Sibling (CODE_BLOCK_GRAVE), Parent (LIST_PERIOD)
- Content: "baz"
+ BLOCKQUOTE (line/column: 9/5-7)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 9/7)
- Parent (BLOCKQUOTE)
- Content: "bam"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 4)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (CODE_BLOCK_GRAVE), Parent (LIST_PERIOD)
- Content: "foo"
+ CODE_BLOCK_GRAVE (line/column: 3/5)
- Next Sibling (PARAGRAPH), Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "bar
"
+ PARAGRAPH (line/column: 7/5)
- Next Sibling (BLOCKQUOTE), Previous Sibling (CODE_BLOCK_GRAVE), Parent (LIST_PERIOD)
- Content: "baz"
+ BLOCKQUOTE (line/column: 9/5-7)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 9/7)
- Parent (BLOCKQUOTE)
- Content: "bam"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [baz]
---- inline to parse: [bam]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
|
+---> resulting html: [<ol>
<li>
<p>foo</p>
<pre><code>bar
</code></pre>
<p>baz</p>
<blockquote>
<p>bam</p>
</blockquote>
</li>
</ol>
] matched!
markdown #264: [-⎵ Foo↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ bar↵ ↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ baz↵ ]
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15eef8
it on entry: [0x5ca51f15eef8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15eef8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eef8 -- 0x5ca51f15ef1c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line=" bar", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 3 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 3 -- it position: 1
column: 2 indent 3 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
column: 3 indent 3 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 3 -- it position: 3
column: 4 indent 3 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 3 -- it position: 4
column: 5 indent 3 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 3 -- it position: 5
column: 6 indent 3 -- it position: 5
+++ got a gap of 6 >= 4 blanks! (working column/end: 1/1, it column 7, list indent + 4: 7 -- it position: 6) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 7
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
+++ adding a CODE BLOCK here (indent: 7)
---- got indent of 7 vs column 7
---- got indented code block
+++ add child to list? (list sub-block: 7)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_DASH)
- Content: "Foo"
+ CODE_BLOCK_INDENTED (line/column: 3/7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_DASH)
- Content: "Foo"
+ CODE_BLOCK_INDENTED (line/column: 3/7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar
"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 3/7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar
"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_DASH)
- Content: "Foo"
+ CODE_BLOCK_INDENTED (line/column: 3/7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_DASH)
- Content: "Foo"
+ CODE_BLOCK_INDENTED (line/column: 3/7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar
"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 3/7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar
"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_DASH)
- Content: "Foo"
+ CODE_BLOCK_INDENTED (line/column: 3/7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line=" baz", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 3 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 3 -- it position: 1
column: 2 indent 3 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
column: 3 indent 3 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 3 -- it position: 3
column: 4 indent 3 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 3 -- it position: 4
column: 5 indent 3 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 3 -- it position: 5
column: 6 indent 3 -- it position: 5
+++ got a gap of 6 >= 4 blanks! (working column/end: 1/1, it column 7, list indent + 4: 7 -- it position: 6) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 7
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
+++ adding a CODE BLOCK here (indent: 7)
---- got indent of 7 vs column 7
---- got indented code block
+++ append indented code block? (list sub-block: 7)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_DASH)
- Content: "Foo"
+ CODE_BLOCK_INDENTED (line/column: 3/7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar
baz
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_DASH)
- Content: "Foo"
+ CODE_BLOCK_INDENTED (line/column: 3/7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar
baz
"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="123456789. ok", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 12 indent 1 -- it position: |
+---> resulting html: [<ul>
<li>
<p>Foo</p>
<pre><code>bar
baz
</code></pre>
</li>
</ul>
] matched!
markdown #265: [123456789.⎵ ok↵ ]
11
+++ gap so far 0 blanks, working column: 11, it column 12, list indent: 1 -- it position: 11
working block is a list? YES and list_indent is 1 -- it position: 11
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 11
+++ not a list or blockquote? -- it position: 11
any containers (other than line)? -- it position: 11
--- not empty? -- it position: 11
--- not indented block? -- it position: 11
--- not fenced block? -- it position: 11 -- 0x5ca51f15fdb4
it on entry: [0x5ca51f15fdb4]
--- not HTML block? -- it position: 11 -- 0x5ca51f15fdb4
--- not header? -- it position: 11
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 11
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 11 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15fd30 -- 0x5ca51f15fdb4 -- 0x5ca51f15fdcc
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 12 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-11)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 123456789
+ PARAGRAPH (line/column: 1/12)
- Parent (LIST_PERIOD)
- Content: "ok"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-11)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 123456789
+ PARAGRAPH (line/column: 1/12)
- Parent (LIST_PERIOD)
- Content: "ok"
- * -------------------------------------------- TREE END ---
---- inline to parse: [ok]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="1234567890. not ok", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: |
+---> resulting html: [<ol start="123456789">
<li>ok</li>
</ol>
] matched!
markdown #266: [1234567890.⎵ not⎵ ok↵ ]
0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [49]...
>> numbered list...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161b88
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "1234567890. not ok"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "1234567890. not ok"
- * -------------------------------------------- TREE END ---
---- inline to parse: [1234567890. not ok]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="0. ok", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: |
+---> resulting html: [<p>1234567890. not ok</p>
] matched!
markdown #267: [0.⎵ ok↵ ]
1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [48]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 4 indent 1 -- it position: 3
+++ gap so far 0 blanks, working column: 3, it column 4, list indent: 1 -- it position: 3
working block is a list? YES and list_indent is 1 -- it position: 3
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15ef04
it on entry: [0x5ca51f15ef04]
--- not HTML block? -- it position: 3 -- 0x5ca51f15ef04
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15ef04 -- 0x5ca51f15ef1c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 4 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 0
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "ok"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 0
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "ok"
- * -------------------------------------------- TREE END ---
---- inline to parse: [ok]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="003. ok", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [48]...
>> numbered list...
>> list type [46]...
|
+---> resulting html: [<ol start="0">
<li>ok</li>
</ol>
] matched!
markdown #268: [003.⎵ ok↵ ]
+++ found a list...
column: 6 indent 1 -- it position: 5
+++ gap so far 0 blanks, working column: 5, it column 6, list indent: 1 -- it position: 5
working block is a list? YES and list_indent is 1 -- it position: 5
>> parse for list [111]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 5
+++ not a list or blockquote? -- it position: 5
any containers (other than line)? -- it position: 5
--- not empty? -- it position: 5
--- not indented block? -- it position: 5
--- not fenced block? -- it position: 5 -- 0x5ca51f15ef1c
it on entry: [0x5ca51f15ef1c]
--- not HTML block? -- it position: 5 -- 0x5ca51f15ef1c
--- not header? -- it position: 5
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 5
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 5 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15ef1c -- 0x5ca51f15ef34
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 6 & 1 & no parent
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 3
+ PARAGRAPH (line/column: 1/6)
- Parent (LIST_PERIOD)
- Content: "ok"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 3
+ PARAGRAPH (line/column: 1/6)
- Parent (LIST_PERIOD)
- Content: "ok"
- * -------------------------------------------- TREE END ---
---- inline to parse: [ok]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="-1. not ok", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
|
+---> resulting html: [<ol start="3">
<li>ok</li>
</ol>
] matched!
markdown #269: [-1.⎵ not⎵ ok↵ ]
>> list type [45]...
>> list blank missing [49]...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f162ea0
it on entry: [0x5ca51f162ea0]
--- not HTML block? -- it position: 0 -- 0x5ca51f162ea0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162ea0 -- 0x5ca51f162ea0 -- 0x5ca51f162f18
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "-1. not ok"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "-1. not ok"
- * -------------------------------------------- TREE END ---
---- inline to parse: [-1. not ok]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
|
+---> resulting html: [<p>-1. not ok</p>
] matched!
markdown #270: [-⎵ foo↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ bar↵ ]
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15eef8
it on entry: [0x5ca51f15eef8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15eef8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15eee0 -- 0x5ca51f15eef8 -- 0x5ca51f15ef1c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line=" bar", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 3 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 3 -- it position: 1
column: 2 indent 3 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
column: 3 indent 3 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 3 -- it position: 3
column: 4 indent 3 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 3 -- it position: 4
column: 5 indent 3 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 3 -- it position: 5
column: 6 indent 3 -- it position: 5
+++ got a gap of 6 >= 4 blanks! (working column/end: 1/1, it column 7, list indent + 4: 7 -- it position: 6) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 7
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
+++ adding a CODE BLOCK here (indent: 7)
---- got indent of 7 vs column 7
---- got indented code block
+++ add child to list? (list sub-block: 7)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_DASH)
- Content: "foo"
+ CODE_BLOCK_INDENTED (line/column: 3/7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_DASH)
- Content: "foo"
+ CODE_BLOCK_INDENTED (line/column: 3/7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar
"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" 10. foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2 |
+---> resulting html: [<ul>
<li>
<p>foo</p>
<pre><code>bar
</code></pre>
</li>
</ul>
] matched!
markdown #271: [⎵ ⎵ 10.⎵ ⎵ foo↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ bar↵ ]
, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 7 indent 1 -- it position: 6
+++ gap so far 1 blanks, working column: 6, it column 8, list indent: 1 -- it position: 7
column: 8 indent 1 -- it position: 7
+++ gap so far 1 blanks, working column: 6, it column 8, list indent: 1 -- it position: 7
working block is a list? YES and list_indent is 1 -- it position: 7
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 7
+++ not a list or blockquote? -- it position: 7
any containers (other than line)? -- it position: 7
--- not empty? -- it position: 7
--- not indented block? -- it position: 7
--- not fenced block? -- it position: 7 -- 0x5ca51f162fd4
it on entry: [0x5ca51f162fd4]
--- not HTML block? -- it position: 7 -- 0x5ca51f162fd4
--- not header? -- it position: 7
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 7
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 7 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162f80 -- 0x5ca51f162fd4 -- 0x5ca51f162ff8
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 8 & 3 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-6)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 10
+ PARAGRAPH (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-6)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 10
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: "foo"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-6)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 10
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=8, f_last_line=" bar", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 8 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 8 -- it position: 1
column: 2 indent 8 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 8 -- it position: 2
column: 3 indent 8 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 8 -- it position: 3
column: 4 indent 8 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 8 -- it position: 4
column: 5 indent 8 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 8 -- it position: 5
column: 6 indent 8 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 8 -- it position: 6
column: 7 indent 8 -- it position: 6
+++ gap so far 7 blanks, working column: 1, it column 8, list indent: 8 -- it position: 7
column: 8 indent 8 -- it position: 7
+++ gap so far 8 blanks, working column: 1, it column 9, list indent: 8 -- it position: 8
column: 9 indent 8 -- it position: 8
+++ gap so far 9 blanks, working column: 1, it column 10, list indent: 8 -- it position: 9
column: 10 indent 8 -- it position: 9
+++ gap so far 10 blanks, working column: 1, it column 11, list indent: 8 -- it position: 10
column: 11 indent 8 -- it position: 10
+++ got a gap of 11 >= 4 blanks! (working column/end: 1/1, it column 12, list indent + 4: 12 -- it position: 11) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 12
any containers (other than line)? -- it position: 11
--- not empty? -- it position: 11
+++ adding a CODE BLOCK here (indent: 12)
---- got indent of 12 vs column 12
---- got indented code block
+++ add child to list? (list sub-block: 12)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-6)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 10
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/8)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "foo"
+ CODE_BLOCK_INDENTED (line/column: 3/12)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "bar
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=8, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-6)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 10
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/8)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "foo"
+ CODE_BLOCK_INDENTED (line/column: 3/12)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "bar
"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" indented code", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
|
+---> resulting html: [<ol start="10">
<li>
<p>foo</p>
<pre><code>bar
</code></pre>
</li>
</ol>
] matched!
markdown #272: [⎵ ⎵ ⎵ ⎵ indented⎵ code↵ ↵ paragraph↵ ↵ ⎵ ⎵ ⎵ ⎵ more⎵ code↵ ]
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "indented code
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "indented code
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "indented code
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="paragraph", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [112]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161b1c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f169a80
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "indented code
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "paragraph"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "indented code
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "paragraph"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "paragraph"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "indented code
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "paragraph"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" more code", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 5 & 1 & 1
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Last: CODE_BLOCK_INDENTED, Count: 3)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "indented code
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "paragraph"
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "more code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Last: CODE_BLOCK_INDENTED, Count: 3)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "indented code
"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (CODE_BLOCK_INDENTED), Parent (DOCUMENT)
- Content: "paragraph"
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "more code
"
- * -------------------------------------------- TREE END ---
---- inline to parse: [paragraph]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="1. indented code", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: |
+---> resulting html: [<pre><code>indented code
</code></pre>
<p>paragraph</p>
<pre><code>more code
</code></pre>
] matched!
markdown #273: [1.⎵ ⎵ ⎵ ⎵ ⎵ indented⎵ code↵ ↵ ⎵ ⎵ ⎵ paragraph↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ more⎵ code↵ ]
0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 4 indent 1 -- it position: 3
+++ gap so far 1 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
column: 5 indent 1 -- it position: 4
+++ gap so far 2 blanks, working column: 3, it column 6, list indent: 1 -- it position: 5
column: 6 indent 1 -- it position: 5
+++ gap so far 3 blanks, working column: 3, it column 7, list indent: 1 -- it position: 6
column: 7 indent 1 -- it position: 6
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/3, it column 8, list indent + 4: 5 -- it position: 7) TOP has-empty-line
---- gap return with f_list_subblock of 8
any containers (other than line)? -- it position: 7
--- not empty? -- it position: 7
+++ adding a CODE BLOCK here (indent: 8)
---- got indent of 8 vs column 8
---- got indented code block
+++ add child to child? (list sub-block: 8)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=4, f_last_line=" paragraph", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 4 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 4 -- it position: 1
column: 2 indent 4 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 4 -- it position: 2
column: 3 indent 4 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 4 -- it position: 3
column: 4 indent 4 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 4 -- it position: 3
working block is a list? no and list_indent is 4 -- it position: 3
>> parse for list [112]...
>> not a list mark...
but after calling parse_list() we have list_indent = 4 -- it position: 3
then compare 4 vs list_indent + 4 = 8 -- it position: 3
+++ this is a list item followed by this additional paragraph: 4 or 4 >= 4 blanks! (working column: 1 -- it position: 3)
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f161ad4
it on entry: [0x5ca51f161ad4]
--- not HTML block? -- it position: 3 -- 0x5ca51f161ad4
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ad4 -- 0x5ca51f161b40
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 4)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Last: PARAGRAPH, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Next Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
+ PARAGRAPH (line/column: 3/4)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "paragraph"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=4, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Last: PARAGRAPH, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Next Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
+ PARAGRAPH (line/column: 3/4)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "paragraph"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/4)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "paragraph"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Last: PARAGRAPH, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Next Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
+ PARAGRAPH (line/column: 3/4)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "paragraph"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=4, f_last_line=" more code", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 4 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 4 -- it position: 1
column: 2 indent 4 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 4 -- it position: 2
column: 3 indent 4 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 4 -- it position: 3
column: 4 indent 4 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 4 -- it position: 4
column: 5 indent 4 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 4 -- it position: 5
column: 6 indent 4 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 4 -- it position: 6
column: 7 indent 4 -- it position: 6
+++ got a gap of 7 >= 4 blanks! (working column/end: 1/1, it column 8, list indent + 4: 8 -- it position: 7) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 8
any containers (other than line)? -- it position: 7
--- not empty? -- it position: 7
+++ adding a CODE BLOCK here (indent: 8)
---- got indent of 8 vs column 8
---- got indented code block
+++ add child to list? (list sub-block: 8)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Last: CODE_BLOCK_INDENTED, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Next Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
+ PARAGRAPH (line/column: 3/4)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "paragraph"
+ CODE_BLOCK_INDENTED (line/column: 5/8)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "more code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=4, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Last: CODE_BLOCK_INDENTED, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Next Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
+ PARAGRAPH (line/column: 3/4)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "paragraph"
+ CODE_BLOCK_INDENTED (line/column: 5/8)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "more code
"
- * -------------------------------------------- TREE END ---
---- inline to parse: [paragraph]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="1. indented code", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: |
+---> resulting html: [<ol>
<li>
<pre><code>indented code
</code></pre>
<p>paragraph</p>
<pre><code>more code
</code></pre>
</li>
</ol>
] matched!
markdown #274: [1.⎵ ⎵ ⎵ ⎵ ⎵ ⎵ indented⎵ code↵ ↵ ⎵ ⎵ ⎵ paragraph↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ more⎵ code↵ ]
0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 4 indent 1 -- it position: 3
+++ gap so far 1 blanks, working column: 3, it column 5, list indent: 1 -- it position: 4
column: 5 indent 1 -- it position: 4
+++ gap so far 2 blanks, working column: 3, it column 6, list indent: 1 -- it position: 5
column: 6 indent 1 -- it position: 5
+++ gap so far 3 blanks, working column: 3, it column 7, list indent: 1 -- it position: 6
column: 7 indent 1 -- it position: 6
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/3, it column 8, list indent + 4: 5 -- it position: 7) TOP has-empty-line
---- gap return with f_list_subblock of 8
any containers (other than line)? -- it position: 7
--- not empty? -- it position: 7
+++ adding a CODE BLOCK here (indent: 8)
---- got indent of 8 vs column 8
---- got indented code block
+++ add child to child? (list sub-block: 8)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Number: 1
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: " indented code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: " indented code
"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: " indented code
"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: " indented code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=4, f_last_line=" paragraph", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 4 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 4 -- it position: 1
column: 2 indent 4 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 4 -- it position: 2
column: 3 indent 4 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 4 -- it position: 3
column: 4 indent 4 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 4 -- it position: 3
working block is a list? no and list_indent is 4 -- it position: 3
>> parse for list [112]...
>> not a list mark...
but after calling parse_list() we have list_indent = 4 -- it position: 3
then compare 4 vs list_indent + 4 = 8 -- it position: 3
+++ this is a list item followed by this additional paragraph: 4 or 4 >= 4 blanks! (working column: 1 -- it position: 3)
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f161ad4
it on entry: [0x5ca51f161ad4]
--- not HTML block? -- it position: 3 -- 0x5ca51f161ad4
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ad4 -- 0x5ca51f161b40
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 4)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Last: PARAGRAPH, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Next Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: " indented code
"
+ PARAGRAPH (line/column: 3/4)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "paragraph"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=4, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Last: PARAGRAPH, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Next Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: " indented code
"
+ PARAGRAPH (line/column: 3/4)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "paragraph"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/4)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "paragraph"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Last: PARAGRAPH, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Next Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: " indented code
"
+ PARAGRAPH (line/column: 3/4)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "paragraph"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=4, f_last_line=" more code", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 4 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 4 -- it position: 1
column: 2 indent 4 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 4 -- it position: 2
column: 3 indent 4 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 4 -- it position: 3
column: 4 indent 4 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 4 -- it position: 4
column: 5 indent 4 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 4 -- it position: 5
column: 6 indent 4 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 4 -- it position: 6
column: 7 indent 4 -- it position: 6
+++ got a gap of 7 >= 4 blanks! (working column/end: 1/1, it column 8, list indent + 4: 8 -- it position: 7) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 8
any containers (other than line)? -- it position: 7
--- not empty? -- it position: 7
+++ adding a CODE BLOCK here (indent: 8)
---- got indent of 8 vs column 8
---- got indented code block
+++ add child to list? (list sub-block: 8)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Last: CODE_BLOCK_INDENTED, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Next Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: " indented code
"
+ PARAGRAPH (line/column: 3/4)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "paragraph"
+ CODE_BLOCK_INDENTED (line/column: 5/8)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "more code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=4, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Last: CODE_BLOCK_INDENTED, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/8)
- Next Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: " indented code
"
+ PARAGRAPH (line/column: 3/4)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "paragraph"
+ CODE_BLOCK_INDENTED (line/column: 5/8)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "more code
"
- * -------------------------------------------- TREE END ---
---- inline to parse: [paragraph]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3 |
+---> resulting html: [<ol>
<li>
<pre><code> indented code
</code></pre>
<p>paragraph</p>
<pre><code>more code
</code></pre>
</li>
</ol>
] matched!
markdown #275: [⎵ ⎵ ⎵ foo↵ ↵ bar↵ ]
, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
working block is a list? no and list_indent is 1 -- it position: 3
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15f864
it on entry: [0x5ca51f15f864]
--- not HTML block? -- it position: 3 -- 0x5ca51f15f864
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f864 -- 0x5ca51f15f888
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 4 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (DOCUMENT)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (DOCUMENT)
- Content: "foo"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/4)
- Parent (DOCUMENT)
- Content: "foo"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (DOCUMENT)
- Content: "foo"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="bar", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
--- not HTML block? -- it position: 0 -- 0x5ca51f15f840
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f840 -- 0x5ca51f15f864
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "foo"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "foo"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [ |
+---> resulting html: [<p>foo</p>
<p>bar</p>
] matched!
markdown #276: [-⎵ ⎵ ⎵ ⎵ foo↵ ↵ ⎵ ⎵ bar↵ ]
45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 1 blanks, working column: 2, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 2 blanks, working column: 2, it column 5, list indent: 1 -- it position: 4
column: 5 indent 1 -- it position: 4
+++ gap so far 3 blanks, working column: 2, it column 6, list indent: 1 -- it position: 5
column: 6 indent 1 -- it position: 5
+++ gap so far 3 blanks, working column: 2, it column 6, list indent: 1 -- it position: 5
working block is a list? YES and list_indent is 1 -- it position: 5
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 5
+++ not a list or blockquote? -- it position: 5
any containers (other than line)? -- it position: 5
--- not empty? -- it position: 5
--- not indented block? -- it position: 5
--- not fenced block? -- it position: 5 -- 0x5ca51f15f87c
it on entry: [0x5ca51f15f87c]
--- not HTML block? -- it position: 5 -- 0x5ca51f15f87c
--- not header? -- it position: 5
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 5
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 5 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f87c -- 0x5ca51f15f8a0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 6 & 1 & no parent
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/6)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/6)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/6)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/6)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=6, f_last_line=" bar", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 6 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 6 -- it position: 1
column: 2 indent 6 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 6 -- it position: 2
column: 3 indent 6 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 6 -- it position: 2
working block is a list? no and list_indent is 6 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 6 -- it position: 2
then compare 3 vs list_indent + 4 = 10 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/6)
- Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/3)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/6)
- Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/3)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 |
+---> resulting html: [<ul>
<li>foo</li>
</ul>
<p>bar</p>
] matched!
markdown #277: [-⎵ ⎵ foo↵ ↵ ⎵ ⎵ ⎵ bar↵ ]
indent 1 -- it position: 2
+++ gap so far 1 blanks, working column: 2, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 1 blanks, working column: 2, it column 4, list indent: 1 -- it position: 3
working block is a list? YES and list_indent is 1 -- it position: 3
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15f864
it on entry: [0x5ca51f15f864]
--- not HTML block? -- it position: 3 -- 0x5ca51f15f864
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f864 -- 0x5ca51f15f888
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 4 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=4, f_last_line=" bar", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 4 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 4 -- it position: 1
column: 2 indent 4 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 4 -- it position: 2
column: 3 indent 4 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 4 -- it position: 3
column: 4 indent 4 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 4 -- it position: 3
working block is a list? no and list_indent is 4 -- it position: 3
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 4 -- it position: 3
then compare 4 vs list_indent + 4 = 8 -- it position: 3
+++ this is a list item followed by this additional paragraph: 4 or 4 >= 4 blanks! (working column: 1 -- it position: 3)
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15f864
it on entry: [0x5ca51f15f864]
--- not HTML block? -- it position: 3 -- 0x5ca51f15f864
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f864 -- 0x5ca51f15f888
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 4)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=4, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="-", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
|
+---> resulting html: [<ul>
<li>
<p>foo</p>
<p>bar</p>
</li>
</ul>
] matched!
markdown #278: [-↵ ⎵ ⎵ foo↵ -↵ ⎵ ⎵ ```↵ ⎵ ⎵ bar↵ ⎵ ⎵ ```↵ -↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ baz↵ ]
>> list type [45]...
+++ found a list...
any containers (other than line)? -- it position: 1
found empty line (Last? not eos?!)
blockquotes?
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x7ffe7faa6914
it on entry: [0x7ffe7faa6914]
--- not HTML block? -- it position: 1 -- 0x7ffe7faa6914
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 1
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 1 == END REACHED!
setup character
create paragraph
add content -- 0x7ffe7faa6908 -- 0x7ffe7faa6914 -- 0x7ffe7faa6914
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 0 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line=" foo", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 3 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 3 -- it position: 1
column: 2 indent 3 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
column: 3 indent 3 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
working block is a list? no and list_indent is 3 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f1651f8
it on entry: [0x5ca51f1651f8]
--- not HTML block? -- it position: 2 -- 0x5ca51f1651f8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1651e0 -- 0x5ca51f1651f8 -- 0x5ca51f16521c
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="-", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
any containers (other than line)? -- it position: 1
found empty line (Last? not eos?!)
blockquotes?
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f1651ec
it on entry: [0x5ca51f1651ec]
--- not HTML block? -- it position: 1 -- 0x5ca51f1651ec
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 1
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 1 == END REACHED!
setup character
create paragraph
add content -- 0x5ca51f1651e0 -- 0x5ca51f1651ec -- 0x5ca51f1651ec
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 0 & 1 & 2
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 3/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line=" ```", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 3 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 3 -- it position: 1
column: 2 indent 3 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
column: 3 indent 3 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
working block is a list? no and list_indent is 3 -- it position: 2
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- adding info string [] -- indentation: 3
--- got next line [ bar]
--- check indent: 1 vs 3
--- end count: 0
--- add: bar
--- got next line [ ```]
--- check indent: 1 vs 3
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ append code block or blockquote to list? 3 -- 2
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 3/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
+ CODE_BLOCK_GRAVE (line/column: 4/3)
- Parent (LIST_DASH)
- Content: "bar
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="-", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
any containers (other than line)? -- it position: 1
found empty line (Last? not eos?!)
blockquotes?
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f1651ec
it on entry: [0x5ca51f1651ec]
--- not HTML block? -- it position: 1 -- 0x5ca51f1651ec
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 1
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 1 == END REACHED!
setup character
create paragraph
add content -- 0x5ca51f1651e0 -- 0x5ca51f1651ec -- 0x5ca51f1651ec
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 0 & 1 & 2
+++ link new? 0x5ca51f169a80
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 3/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
+ CODE_BLOCK_GRAVE (line/column: 4/3)
- Parent (LIST_DASH)
- Content: "bar
"
+ LIST_DASH (line/column: 7/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line=" baz", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 3 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 3 -- it position: 1
column: 2 indent 3 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
column: 3 indent 3 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 3 -- it position: 3
column: 4 indent 3 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 3 -- it position: 4
column: 5 indent 3 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 3 -- it position: 5
column: 6 indent 3 -- it position: 5
+++ got a gap of 6 >= 4 blanks! (working column/end: 1/1, it column 7, list indent + 4: 7 -- it position: 6) TOP has-parent
---- gap return with f_list_subblock of 7
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
+++ adding a CODE BLOCK here (indent: 7)
---- got indent of 7 vs column 7
---- got indented code block
+++ add child to list? (list sub-block: 7)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 3/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
+ CODE_BLOCK_GRAVE (line/column: 4/3)
- Parent (LIST_DASH)
- Content: "bar
"
+ LIST_DASH (line/column: 7/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
+ CODE_BLOCK_INDENTED (line/column: 8/7)
- Parent (LIST_DASH)
- Content: "baz
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 3/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
+ CODE_BLOCK_GRAVE (line/column: 4/3)
- Parent (LIST_DASH)
- Content: "bar
"
+ LIST_DASH (line/column: 7/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
+ CODE_BLOCK_INDENTED (line/column: 8/7)
- Parent (LIST_DASH)
- Content: "baz
"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- ", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
|
+---> resulting html: [<ul>
<li>foo</li>
<li>
<pre><code>bar
</code></pre>
</li>
<li>
<pre><code>baz
</code></pre>
</li>
</ul>
] matched!
markdown #279: [-⎵ ⎵ ⎵ ↵ ⎵ ⎵ foo↵ ]
column: 3 indent 1 -- it position: 2
+++ gap so far 1 blanks, working column: 2, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far -2 blanks, working column: 2, it column 0, list indent: 1 -- it position: 4
any containers (other than line)? -- it position: 4
found empty line (Last? not eos?!)
blockquotes?
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f164a70
it on entry: [0x5ca51f164a70]
--- not HTML block? -- it position: 4 -- 0x5ca51f164a70
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == END REACHED!
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a70 -- 0x5ca51f164a70
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 0 & 1 & no parent
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line=" foo", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 3 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 3 -- it position: 1
column: 2 indent 3 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
column: 3 indent 3 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
working block is a list? no and list_indent is 3 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
- Content: "foo"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="-", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
any containers (other than line)? |
+---> resulting html: [<ul>
<li>foo</li>
</ul>
] matched!
markdown #280: [-↵ ↵ ⎵ ⎵ foo↵ ]
-- it position: 1
found empty line (Last? not eos?!)
blockquotes?
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x7ffe7faa6914
it on entry: [0x7ffe7faa6914]
--- not HTML block? -- it position: 1 -- 0x7ffe7faa6914
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 1
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 1 == END REACHED!
setup character
create paragraph
add content -- 0x7ffe7faa6908 -- 0x7ffe7faa6914 -- 0x7ffe7faa6914
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 0 & 1 & no parent
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH
- Parent (LIST_DASH)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH
- Parent (LIST_DASH)
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH
- Parent (LIST_DASH)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=0, f_last_line=" foo", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 0 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 0 -- it position: 1
column: 2 indent 0 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 0 -- it position: 2
column: 3 indent 0 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 0 -- it position: 2
working block is a list? no and list_indent is 0 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 0 -- it position: 2
then compare 3 vs list_indent + 4 = 4 -- it position: 2
+++ this is a list item followed by this additional paragraph: 3 or 3 >= 0 blanks! (working column: 1 -- it position: 2)
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f169a80
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH
- Parent (LIST_DASH)
+ PARAGRAPH (line/column: 3/3)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH
- Parent (LIST_DASH)
+ PARAGRAPH (line/column: 3/3)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "foo"
- * -------------------------------------------- TREE END ---
---- inline to parse: []
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent |
+---> resulting html: [<ul>
<li></li>
</ul>
<p>foo</p>
] matched!
markdown #281: [-⎵ foo↵ -↵ -⎵ bar↵ ]
1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f169a80
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="-", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
any containers (other than line)? -- it position: 1
found empty line (Last? not eos?!)
blockquotes?
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f15f84c
it on entry: [0x5ca51f15f84c]
--- not HTML block? -- it position: 1 -- 0x5ca51f15f84c
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 1
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 1 == END REACHED!
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f84c -- 0x5ca51f15f84c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 0 & 1 & 2
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="- bar", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 3 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 3 -- it position: 0
working block is a list? no and list_indent is 3 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 3 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 3 -- it position: 2
working block is a list? YES and list_indent is 3 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
+ LIST_DASH (line/column: 3/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
+ LIST_DASH (line/column: 3/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: []
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45 |
+---> resulting html: [<ul>
<li>foo</li>
<li></li>
<li>bar</li>
</ul>
] matched!
markdown #282: [-⎵ foo↵ -⎵ ⎵ ⎵ ↵ -⎵ bar↵ ]
]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- ", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 1 blanks, working column: 2, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far -2 blanks, working column: 2, it column 0, list indent: 2147483647 -- it position: 4
any containers (other than line)? -- it position: 4
found empty line (Last? not eos?!)
blockquotes?
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == END REACHED!
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f870
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 0 & 1 & 2
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="- bar", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 3 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 3 -- it position: 0
working block is a list? no and list_indent is 3 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 3 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 3 -- it position: 2
working block is a list? YES and list_indent is 3 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f166f40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
+ LIST_DASH (line/column: 3/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_DASH)
+ LIST_DASH (line/column: 3/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: []
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="1. foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 4 indent 1 -- it position: 3
+++ gap so far 0 blanks, working column: 3 |
+---> resulting html: [<ul>
<li>foo</li>
<li></li>
<li>bar</li>
</ul>
] matched!
markdown #283: [1.⎵ foo↵ 2.↵ 3.⎵ bar↵ ]
, it column 4, list indent: 1 -- it position: 3
working block is a list? YES and list_indent is 1 -- it position: 3
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15f864
it on entry: [0x5ca51f15f864]
--- not HTML block? -- it position: 3 -- 0x5ca51f15f864
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f864 -- 0x5ca51f15f888
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 4 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="2.", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [50]...
>> numbered list...
>> list type [46]...
+++ found a list...
any containers (other than line)? -- it position: 2
found empty line (Last? not eos?!)
blockquotes?
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == END REACHED!
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f858
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 0 & 1 & 3
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Last: LIST_PERIOD, Count: 2)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "foo"
+ LIST_PERIOD (line/column: 2/1-3)
- Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
+ PARAGRAPH
- Parent (LIST_PERIOD)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=4, f_last_line="3. bar", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 4 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 4 -- it position: 0
working block is a list? no and list_indent is 4 -- it position: 0
>> parse for list [51]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 4 indent 4 -- it position: 3
+++ gap so far 0 blanks, working column: 3, it column 4, list indent: 4 -- it position: 3
working block is a list? YES and list_indent is 4 -- it position: 3
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 4 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15f864
it on entry: [0x5ca51f15f864]
--- not HTML block? -- it position: 3 -- 0x5ca51f15f864
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f864 -- 0x5ca51f15f888
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 4 & 1 & 3
+++ link new? 0x5ca51f169a80
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Last: LIST_PERIOD, Count: 3)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "foo"
+ LIST_PERIOD (line/column: 2/1-3)
- Next Sibling (LIST_PERIOD), Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
+ PARAGRAPH
- Parent (LIST_PERIOD)
+ LIST_PERIOD (line/column: 3/1-3)
- Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 3
+ PARAGRAPH (line/column: 3/4)
- Parent (LIST_PERIOD)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Last: LIST_PERIOD, Count: 3)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "foo"
+ LIST_PERIOD (line/column: 2/1-3)
- Next Sibling (LIST_PERIOD), Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
+ PARAGRAPH
- Parent (LIST_PERIOD)
+ LIST_PERIOD (line/column: 3/1-3)
- Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 3
+ PARAGRAPH (line/column: 3/4)
- Parent (LIST_PERIOD)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: []
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="*", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [42]...
>> list type [42]...
+++ found a list...
any containers (other than line)? -- it position: 1
|
+---> resulting html: [<ol>
<li>foo</li>
<li></li>
<li>bar</li>
</ol>
] matched!
markdown #284: [*↵ ]
found empty line (Last? not eos?!)
blockquotes?
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x7ffe7faa6914
it on entry: [0x7ffe7faa6914]
--- not HTML block? -- it position: 1 -- 0x7ffe7faa6914
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 1
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 1 == END REACHED!
setup character
create paragraph
add content -- 0x7ffe7faa6908 -- 0x7ffe7faa6914 -- 0x7ffe7faa6914
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 0 & 1 & no parent
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_ASTERISK)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_ASTERISK)
- * -------------------------------------------- TREE END ---
---- inline to parse: []
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = |
+---> resulting html: [<ul>
<li></li>
</ul>
] matched!
markdown #285: [foo↵ *↵ ↵ foo↵ 1.↵ ]
1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f164a40
it on entry: [0x5ca51f164a40]
--- not HTML block? -- it position: 0 -- 0x5ca51f164a40
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a40 -- 0x5ca51f164a64
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="*", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [42]...
>> list type [42]...
+++ found a list...
any containers (other than line)? -- it position: 1
found empty line (Last? not eos?!)
blockquotes?
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f164a4c
it on entry: [0x5ca51f164a4c]
--- not HTML block? -- it position: 1 -- 0x5ca51f164a4c
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 1
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 1 == END REACHED!
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a4c -- 0x5ca51f164a4c
link child
save working child
end paragraph handling
---- paragraph
+++ append empty list to paragraph? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo
*"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo
*"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo
*"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "foo
*"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="foo", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f164a40
it on entry: [0x5ca51f164a40]
--- not HTML block? -- it position: 0 -- 0x5ca51f164a40
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a40 -- 0x5ca51f164a64
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 1 & 1 & 1
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "foo
*"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="1.", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
any containers (other than line)? -- it position: 2
found empty line (Last? not eos?!)
blockquotes?
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f164a58
it on entry: [0x5ca51f164a58]
--- not HTML block? -- it position: 2 -- 0x5ca51f164a58
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == END REACHED!
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a58 -- 0x5ca51f164a58
link child
save working child
end paragraph handling
---- paragraph
+++ append empty list to paragraph? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "foo
*"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "foo
1."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "foo
*"
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 4/1)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT)
- Content: "foo
1."
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo
*]
>>> found some mark...
>>> just mark...
---- inline to parse: [foo
1.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" 1. A paragraph", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
|
+---> resulting html: [<p>foo
*</p>
<p>foo
1.</p>
] matched!
markdown #286: [⎵ 1.⎵ ⎵ A⎵ paragraph↵ ⎵ ⎵ ⎵ ⎵ ⎵ with⎵ two⎵ lines.↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ indented⎵ code↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ >⎵ A⎵ block⎵ quote.↵ ]
column: 2 indent 1 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
working block is a list? no and list_indent is 1 -- it position: 1
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 5 indent 1 -- it position: 4
+++ gap so far 1 blanks, working column: 4, it column 6, list indent: 1 -- it position: 5
column: 6 indent 1 -- it position: 5
+++ gap so far 1 blanks, working column: 4, it column 6, list indent: 1 -- it position: 5
working block is a list? YES and list_indent is 1 -- it position: 5
>> parse for list [65]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 5
+++ not a list or blockquote? -- it position: 5
any containers (other than line)? -- it position: 5
--- not empty? -- it position: 5
--- not indented block? -- it position: 5
--- not fenced block? -- it position: 5 -- 0x5ca51f162fbc
it on entry: [0x5ca51f162fbc]
--- not HTML block? -- it position: 5 -- 0x5ca51f162fbc
--- not header? -- it position: 5
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 5
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 5 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162f80 -- 0x5ca51f162fbc -- 0x5ca51f163040
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 6 & 2 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/2-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/6)
- Parent (LIST_PERIOD)
- Content: "A paragraph"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" with two lines.", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 2147483647 -- it position: 5
column: 6 indent 2147483647 -- it position: 5
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 2147483647 -- it position: 5
working block is a list? no and list_indent is 2147483647 -- it position: 5
>> parse for list [119]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 5
+++ not a list or blockquote? -- it position: 5
any containers (other than line)? -- it position: 5
--- not empty? -- it position: 5
--- not indented block? -- it position: 5
--- not fenced block? -- it position: 5 -- 0x5ca51f161aec
it on entry: [0x5ca51f161aec]
--- not HTML block? -- it position: 5 -- 0x5ca51f161aec
--- not header? -- it position: 5
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 5
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 5 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161aec -- 0x5ca51f161ba0
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [with two lines.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/2-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/6)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/2-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/6)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/6)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/2-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/6)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=6, f_last_line=" indented code", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 6 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 6 -- it position: 1
column: 2 indent 6 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 6 -- it position: 2
column: 3 indent 6 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 6 -- it position: 3
column: 4 indent 6 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 6 -- it position: 4
column: 5 indent 6 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 6 -- it position: 5
column: 6 indent 6 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 6 -- it position: 6
column: 7 indent 6 -- it position: 6
+++ gap so far 7 blanks, working column: 1, it column 8, list indent: 6 -- it position: 7
column: 8 indent 6 -- it position: 7
+++ gap so far 8 blanks, working column: 1, it column 9, list indent: 6 -- it position: 8
column: 9 indent 6 -- it position: 8
+++ got a gap of 9 >= 4 blanks! (working column/end: 1/1, it column 10, list indent + 4: 10 -- it position: 9) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 10
any containers (other than line)? -- it position: 9
--- not empty? -- it position: 9
+++ adding a CODE BLOCK here (indent: 10)
---- got indent of 10 vs column 10
---- got indented code block
+++ add child to list? (list sub-block: 10)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/2-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/6)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/10)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=6, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/2-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/6)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/10)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 4/10)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/2-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/6)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/10)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=6, f_last_line=" > A block quote.", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 6 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 6 -- it position: 1
column: 2 indent 6 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 6 -- it position: 2
column: 3 indent 6 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 6 -- it position: 3
column: 4 indent 6 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 6 -- it position: 4
column: 5 indent 6 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 6 -- it position: 5
column: 6 indent 6 -- it position: 5
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 6 -- it position: 5
+++ found a blockquote...
column: 8 indent 6 -- it position: 7
+++ gap so far 0 blanks, working column: 8, it column 8, list indent: 6 -- it position: 7
working block is a list? no and list_indent is 6 -- it position: 7
>> parse for list [65]...
>> not a list mark...
but after calling parse_list() we have list_indent = 6 -- it position: 7
then compare 8 vs list_indent + 4 = 10 -- it position: 7
+++ this is a list item followed by this additional paragraph: 0 or 8 >= 6 blanks! (working column: 8 -- it position: 7)
+++ not a list or blockquote? -- it position: 7
any containers (other than line)? -- it position: 7
--- not empty? -- it position: 7
--- not indented block? -- it position: 7
--- not fenced block? -- it position: 7 -- 0x5ca51f161b04
it on entry: [0x5ca51f161b04]
--- not HTML block? -- it position: 7 -- 0x5ca51f161b04
--- not header? -- it position: 7
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 7
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 7 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161b04 -- 0x5ca51f161bac
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 6)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/2-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/6)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/10)
- Next Sibling (BLOCKQUOTE), Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
+ BLOCKQUOTE (line/column: 6/6-8)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 6/8)
- Parent (BLOCKQUOTE)
- Content: "A block quote."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/2-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/6)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/10)
- Next Sibling (BLOCKQUOTE), Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
+ BLOCKQUOTE (line/column: 6/6-8)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 6/8)
- Parent (BLOCKQUOTE)
- Content: "A block quote."
- * -------------------------------------------- TREE END ---
---- inline to parse: [A paragraph
with two lines.]
---- inline to parse: [A block quote.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" 1. A paragraph", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 6 indent 1 -- it position: 5
+++ gap so far 1 blanks, working column: 5, it column 7, list indent: 1 -- it position: 6
column: 7 indent 1 -- it position: 6
+++ gap so far 1 blanks, working column: 5, it column 7, list indent: 1 -- it position: 6
working block is a list? YES and list_indent is 1 -- it position: 6
>> parse for list [65]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 6
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f161af8
it on entry: [0x5ca51f161af8]
--- not HTML block? -- it position: 6 -- 0x5ca51f161af8
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161af8 -- 0x5ca51f161b7c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 7 & 3 & no parent
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
|
+---> resulting html: [<ol>
<li>
<p>A paragraph
with two lines.</p>
<pre><code>indented code
</code></pre>
<blockquote>
<p>A block quote.</p>
</blockquote>
</li>
</ol>
] matched!
markdown #287: [⎵ ⎵ 1.⎵ ⎵ A⎵ paragraph↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ with⎵ two⎵ lines.↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ indented⎵ code↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ >⎵ A⎵ block⎵ quote.↵ ]
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_PERIOD)
- Content: "A paragraph"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" with two lines.", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 2147483647 -- it position: 5
column: 6 indent 2147483647 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 2147483647 -- it position: 6
column: 7 indent 2147483647 -- it position: 6
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 2147483647 -- it position: 6
working block is a list? no and list_indent is 2147483647 -- it position: 6
>> parse for list [119]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 6
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f161af8
it on entry: [0x5ca51f161af8]
--- not HTML block? -- it position: 6 -- 0x5ca51f161af8
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161af8 -- 0x5ca51f161bac
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [with two lines.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=7, f_last_line=" indented code", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 7 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 7 -- it position: 1
column: 2 indent 7 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 7 -- it position: 2
column: 3 indent 7 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 7 -- it position: 3
column: 4 indent 7 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 7 -- it position: 4
column: 5 indent 7 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 7 -- it position: 5
column: 6 indent 7 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 7 -- it position: 6
column: 7 indent 7 -- it position: 6
+++ gap so far 7 blanks, working column: 1, it column 8, list indent: 7 -- it position: 7
column: 8 indent 7 -- it position: 7
+++ gap so far 8 blanks, working column: 1, it column 9, list indent: 7 -- it position: 8
column: 9 indent 7 -- it position: 8
+++ gap so far 9 blanks, working column: 1, it column 10, list indent: 7 -- it position: 9
column: 10 indent 7 -- it position: 9
+++ got a gap of 10 >= 4 blanks! (working column/end: 1/1, it column 11, list indent + 4: 11 -- it position: 10) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 11
any containers (other than line)? -- it position: 10
--- not empty? -- it position: 10
+++ adding a CODE BLOCK here (indent: 11)
---- got indent of 11 vs column 11
---- got indented code block
+++ add child to list? (list sub-block: 11)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/11)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=7, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/11)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 4/11)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/11)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=7, f_last_line=" > A block quote.", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 7 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 7 -- it position: 1
column: 2 indent 7 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 7 -- it position: 2
column: 3 indent 7 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 7 -- it position: 3
column: 4 indent 7 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 7 -- it position: 4
column: 5 indent 7 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 7 -- it position: 5
column: 6 indent 7 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 7 -- it position: 6
column: 7 indent 7 -- it position: 6
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 7 -- it position: 6
+++ found a blockquote...
column: 9 indent 7 -- it position: 8
+++ gap so far 0 blanks, working column: 9, it column 9, list indent: 7 -- it position: 8
working block is a list? no and list_indent is 7 -- it position: 8
>> parse for list [65]...
>> not a list mark...
but after calling parse_list() we have list_indent = 7 -- it position: 8
then compare 9 vs list_indent + 4 = 11 -- it position: 8
+++ this is a list item followed by this additional paragraph: 0 or 9 >= 7 blanks! (working column: 9 -- it position: 8)
+++ not a list or blockquote? -- it position: 8
any containers (other than line)? -- it position: 8
--- not empty? -- it position: 8
--- not indented block? -- it position: 8
--- not fenced block? -- it position: 8 -- 0x5ca51f161b10
it on entry: [0x5ca51f161b10]
--- not HTML block? -- it position: 8 -- 0x5ca51f161b10
--- not header? -- it position: 8
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 8
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 8 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161b10 -- 0x5ca51f161bb8
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 7)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/11)
- Next Sibling (BLOCKQUOTE), Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
+ BLOCKQUOTE (line/column: 6/7-9)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 6/9)
- Parent (BLOCKQUOTE)
- Content: "A block quote."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/11)
- Next Sibling (BLOCKQUOTE), Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
+ BLOCKQUOTE (line/column: 6/7-9)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 6/9)
- Parent (BLOCKQUOTE)
- Content: "A block quote."
- * -------------------------------------------- TREE END ---
---- inline to parse: [A paragraph
with two lines.]
---- inline to parse: [A block quote.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" 1. A paragraph", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 |
+---> resulting html: [<ol>
<li>
<p>A paragraph
with two lines.</p>
<pre><code>indented code
</code></pre>
<blockquote>
<p>A block quote.</p>
</blockquote>
</li>
</ol>
] matched!
markdown #288: [⎵ ⎵ ⎵ 1.⎵ ⎵ A⎵ paragraph↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ with⎵ two⎵ lines.↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ indented⎵ code↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ >⎵ A⎵ block⎵ quote.↵ ]
-- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
working block is a list? no and list_indent is 1 -- it position: 3
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 7 indent 1 -- it position: 6
+++ gap so far 1 blanks, working column: 6, it column 8, list indent: 1 -- it position: 7
column: 8 indent 1 -- it position: 7
+++ gap so far 1 blanks, working column: 6, it column 8, list indent: 1 -- it position: 7
working block is a list? YES and list_indent is 1 -- it position: 7
>> parse for list [65]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 7
+++ not a list or blockquote? -- it position: 7
any containers (other than line)? -- it position: 7
--- not empty? -- it position: 7
--- not indented block? -- it position: 7
--- not fenced block? -- it position: 7 -- 0x5ca51f161b04
it on entry: [0x5ca51f161b04]
--- not HTML block? -- it position: 7 -- 0x5ca51f161b04
--- not header? -- it position: 7
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 7
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 7 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161b04 -- 0x5ca51f161b88
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 8 & 4 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: "A paragraph"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" with two lines.", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 2147483647 -- it position: 5
column: 6 indent 2147483647 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 2147483647 -- it position: 6
column: 7 indent 2147483647 -- it position: 6
+++ gap so far 7 blanks, working column: 1, it column 8, list indent: 2147483647 -- it position: 7
column: 8 indent 2147483647 -- it position: 7
+++ gap so far 7 blanks, working column: 1, it column 8, list indent: 2147483647 -- it position: 7
working block is a list? no and list_indent is 2147483647 -- it position: 7
>> parse for list [119]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 7
+++ not a list or blockquote? -- it position: 7
any containers (other than line)? -- it position: 7
--- not empty? -- it position: 7
--- not indented block? -- it position: 7
--- not fenced block? -- it position: 7 -- 0x5ca51f161b04
it on entry: [0x5ca51f161b04]
--- not HTML block? -- it position: 7 -- 0x5ca51f161b04
--- not header? -- it position: 7
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 7
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 7 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161b04 -- 0x5ca51f161bb8
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [with two lines.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/8)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=8, f_last_line=" indented code", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 8 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 8 -- it position: 1
column: 2 indent 8 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 8 -- it position: 2
column: 3 indent 8 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 8 -- it position: 3
column: 4 indent 8 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 8 -- it position: 4
column: 5 indent 8 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 8 -- it position: 5
column: 6 indent 8 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 8 -- it position: 6
column: 7 indent 8 -- it position: 6
+++ gap so far 7 blanks, working column: 1, it column 8, list indent: 8 -- it position: 7
column: 8 indent 8 -- it position: 7
+++ gap so far 8 blanks, working column: 1, it column 9, list indent: 8 -- it position: 8
column: 9 indent 8 -- it position: 8
+++ gap so far 9 blanks, working column: 1, it column 10, list indent: 8 -- it position: 9
column: 10 indent 8 -- it position: 9
+++ gap so far 10 blanks, working column: 1, it column 11, list indent: 8 -- it position: 10
column: 11 indent 8 -- it position: 10
+++ got a gap of 11 >= 4 blanks! (working column/end: 1/1, it column 12, list indent + 4: 12 -- it position: 11) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 12
any containers (other than line)? -- it position: 11
--- not empty? -- it position: 11
+++ adding a CODE BLOCK here (indent: 12)
---- got indent of 12 vs column 12
---- got indented code block
+++ add child to list? (list sub-block: 12)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/8)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/12)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=8, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/8)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/12)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 4/12)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/8)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/12)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=8, f_last_line=" > A block quote.", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 8 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 8 -- it position: 1
column: 2 indent 8 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 8 -- it position: 2
column: 3 indent 8 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 8 -- it position: 3
column: 4 indent 8 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 8 -- it position: 4
column: 5 indent 8 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 8 -- it position: 5
column: 6 indent 8 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 8 -- it position: 6
column: 7 indent 8 -- it position: 6
+++ gap so far 7 blanks, working column: 1, it column 8, list indent: 8 -- it position: 7
column: 8 indent 8 -- it position: 7
+++ gap so far 7 blanks, working column: 1, it column 8, list indent: 8 -- it position: 7
+++ found a blockquote...
column: 10 indent 8 -- it position: 9
+++ gap so far 0 blanks, working column: 10, it column 10, list indent: 8 -- it position: 9
working block is a list? no and list_indent is 8 -- it position: 9
>> parse for list [65]...
>> not a list mark...
but after calling parse_list() we have list_indent = 8 -- it position: 9
then compare 10 vs list_indent + 4 = 12 -- it position: 9
+++ this is a list item followed by this additional paragraph: 0 or 10 >= 8 blanks! (working column: 10 -- it position: 9)
+++ not a list or blockquote? -- it position: 9
any containers (other than line)? -- it position: 9
--- not empty? -- it position: 9
--- not indented block? -- it position: 9
--- not fenced block? -- it position: 9 -- 0x5ca51f161b1c
it on entry: [0x5ca51f161b1c]
--- not HTML block? -- it position: 9 -- 0x5ca51f161b1c
--- not header? -- it position: 9
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 9
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 9 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161b1c -- 0x5ca51f161bc4
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 8)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/8)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/12)
- Next Sibling (BLOCKQUOTE), Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
+ BLOCKQUOTE (line/column: 6/8-10)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 6/10)
- Parent (BLOCKQUOTE)
- Content: "A block quote."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/4-6)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/8)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/12)
- Next Sibling (BLOCKQUOTE), Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
+ BLOCKQUOTE (line/column: 6/8-10)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 6/10)
- Parent (BLOCKQUOTE)
- Content: "A block quote."
- * -------------------------------------------- TREE END ---
---- inline to parse: [A paragraph
with two lines.]
---- inline to parse: [A block quote.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" 1. A paragraph", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "1. A paragraph
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" with two lines.", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: |
+---> resulting html: [<ol>
<li>
<p>A paragraph
with two lines.</p>
<pre><code>indented code
</code></pre>
<blockquote>
<p>A block quote.</p>
</blockquote>
</li>
</ol>
] matched!
markdown #289: [⎵ ⎵ ⎵ ⎵ 1.⎵ ⎵ A⎵ paragraph↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ with⎵ two⎵ lines.↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ indented⎵ code↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ >⎵ A⎵ block⎵ quote.↵ ]
1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 2147483651 -- it position: 4) TOP has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [ with two lines.
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "1. A paragraph
with two lines.
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "1. A paragraph
with two lines.
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "1. A paragraph
with two lines.
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "1. A paragraph
with two lines.
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" indented code", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [ indented code
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "1. A paragraph
with two lines.
indented code
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "1. A paragraph
with two lines.
indented code
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "1. A paragraph
with two lines.
indented code
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "1. A paragraph
with two lines.
indented code
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" > A block quote.", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ append to existing block code or paragraph? [ > A block quote.
]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "1. A paragraph
with two lines.
indented c [...]"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: CODE_BLOCK_INDENTED, Count: 1)
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 1/5)
- Parent (DOCUMENT)
- Content: "1. A paragraph
with two lines.
indented c [...]"
- Block is followed by at least one empty line
- * -------------------------------------------- TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" 1. A paragraph", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: |
+---> resulting html: [<pre><code>1. A paragraph
with two lines.
indented code
> A block quote.
</code></pre>
] matched!
markdown #290: [⎵ ⎵ 1.⎵ ⎵ A⎵ paragraph↵ with⎵ two⎵ lines.↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ indented⎵ code↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ >⎵ A⎵ block⎵ quote.↵ ]
1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 6 indent 1 -- it position: 5
+++ gap so far 1 blanks, working column: 5, it column 7, list indent: 1 -- it position: 6
column: 7 indent 1 -- it position: 6
+++ gap so far 1 blanks, working column: 5, it column 7, list indent: 1 -- it position: 6
working block is a list? YES and list_indent is 1 -- it position: 6
>> parse for list [65]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 6
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f161af8
it on entry: [0x5ca51f161af8]
--- not HTML block? -- it position: 6 -- 0x5ca51f161af8
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161af8 -- 0x5ca51f161b7c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 7 & 3 & no parent
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_PERIOD)
- Content: "A paragraph"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="with two lines.", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [119]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161b64
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [with two lines.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=7, f_last_line=" indented code", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 7 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 7 -- it position: 1
column: 2 indent 7 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 7 -- it position: 2
column: 3 indent 7 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 7 -- it position: 3
column: 4 indent 7 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 7 -- it position: 4
column: 5 indent 7 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 7 -- it position: 5
column: 6 indent 7 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 7 -- it position: 6
column: 7 indent 7 -- it position: 6
+++ gap so far 7 blanks, working column: 1, it column 8, list indent: 7 -- it position: 7
column: 8 indent 7 -- it position: 7
+++ gap so far 8 blanks, working column: 1, it column 9, list indent: 7 -- it position: 8
column: 9 indent 7 -- it position: 8
+++ gap so far 9 blanks, working column: 1, it column 10, list indent: 7 -- it position: 9
column: 10 indent 7 -- it position: 9
+++ got a gap of 10 >= 4 blanks! (working column/end: 1/1, it column 11, list indent + 4: 11 -- it position: 10) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 11
any containers (other than line)? -- it position: 10
--- not empty? -- it position: 10
+++ adding a CODE BLOCK here (indent: 11)
---- got indent of 11 vs column 11
---- got indented code block
+++ add child to list? (list sub-block: 11)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/11)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=7, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/11)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_INDENTED (line/column: 4/11)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_INDENTED, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/11)
- Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=7, f_last_line=" > A block quote.", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 7 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 7 -- it position: 1
column: 2 indent 7 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 7 -- it position: 2
column: 3 indent 7 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 7 -- it position: 3
column: 4 indent 7 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 7 -- it position: 4
column: 5 indent 7 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 7 -- it position: 5
column: 6 indent 7 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 7 -- it position: 6
column: 7 indent 7 -- it position: 6
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 7 -- it position: 6
+++ found a blockquote...
column: 9 indent 7 -- it position: 8
+++ gap so far 0 blanks, working column: 9, it column 9, list indent: 7 -- it position: 8
working block is a list? no and list_indent is 7 -- it position: 8
>> parse for list [65]...
>> not a list mark...
but after calling parse_list() we have list_indent = 7 -- it position: 8
then compare 9 vs list_indent + 4 = 11 -- it position: 8
+++ this is a list item followed by this additional paragraph: 0 or 9 >= 7 blanks! (working column: 9 -- it position: 8)
+++ not a list or blockquote? -- it position: 8
any containers (other than line)? -- it position: 8
--- not empty? -- it position: 8
--- not indented block? -- it position: 8
--- not fenced block? -- it position: 8 -- 0x5ca51f161b10
it on entry: [0x5ca51f161b10]
--- not HTML block? -- it position: 8 -- 0x5ca51f161b10
--- not header? -- it position: 8
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 8
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 8 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161b10 -- 0x5ca51f161bb8
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 7)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/11)
- Next Sibling (BLOCKQUOTE), Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
+ BLOCKQUOTE (line/column: 6/7-9)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 6/9)
- Parent (BLOCKQUOTE)
- Content: "A block quote."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 3)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/7)
- Next Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
+ CODE_BLOCK_INDENTED (line/column: 4/11)
- Next Sibling (BLOCKQUOTE), Previous Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "indented code
"
+ BLOCKQUOTE (line/column: 6/7-9)
- Previous Sibling (CODE_BLOCK_INDENTED), Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 6/9)
- Parent (BLOCKQUOTE)
- Content: "A block quote."
- * -------------------------------------------- TREE END ---
---- inline to parse: [A paragraph
with two lines.]
---- inline to parse: [A block quote.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" 1. A paragraph", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 |
+---> resulting html: [<ol>
<li>
<p>A paragraph
with two lines.</p>
<pre><code>indented code
</code></pre>
<blockquote>
<p>A block quote.</p>
</blockquote>
</li>
</ol>
] matched!
markdown #291: [⎵ ⎵ 1.⎵ ⎵ A⎵ paragraph↵ ⎵ ⎵ ⎵ ⎵ with⎵ two⎵ lines.↵ ]
-- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 6 indent 1 -- it position: 5
+++ gap so far 1 blanks, working column: 5, it column 7, list indent: 1 -- it position: 6
column: 7 indent 1 -- it position: 6
+++ gap so far 1 blanks, working column: 5, it column 7, list indent: 1 -- it position: 6
working block is a list? YES and list_indent is 1 -- it position: 6
>> parse for list [65]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 6
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f161af8
it on entry: [0x5ca51f161af8]
--- not HTML block? -- it position: 6 -- 0x5ca51f161af8
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161af8 -- 0x5ca51f161b7c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 7 & 3 & no parent
+++ link new? 0x5ca51f166f40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_PERIOD)
- Content: "A paragraph"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" with two lines.", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? no and list_indent is 2147483647 -- it position: 4
>> parse for list [119]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f161ae0
it on entry: [0x5ca51f161ae0]
--- not HTML block? -- it position: 4 -- 0x5ca51f161ae0
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ae0 -- 0x5ca51f161b94
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [with two lines.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/7)
- Parent (LIST_PERIOD)
- Content: "A paragraph
with two lines."
- * -------------------------------------------- TREE END ---
---- inline to parse: [A paragraph
with two lines.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> 1. > Blockquote", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
+++ found a blockquote...
column: 3 indent 1 |
+---> resulting html: [<ol>
<li>A paragraph
with two lines.</li>
</ol>
] matched!
markdown #292: [>⎵ 1.⎵ >⎵ Blockquote↵ continued⎵ here.↵ ]
-- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 6 indent 1 -- it position: 5
+++ gap so far 0 blanks, working column: 5, it column 6, list indent: 1 -- it position: 5
+++ found a blockquote...
column: 8 indent 1 -- it position: 7
+++ gap so far 0 blanks, working column: 8, it column 8, list indent: 1 -- it position: 7
working block is a list? no and list_indent is 1 -- it position: 7
>> parse for list [66]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 7
+++ not a list or blockquote? -- it position: 7
any containers (other than line)? -- it position: 7
--- not empty? -- it position: 7
--- not indented block? -- it position: 7
--- not fenced block? -- it position: 7 -- 0x5ca51f161b04
it on entry: [0x5ca51f161b04]
--- not HTML block? -- it position: 7 -- 0x5ca51f161b04
--- not header? -- it position: 7
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 7
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 7 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161b04 -- 0x5ca51f161b7c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 8 & 6 & no parent
+++ link new? 0x5ca51f169a80
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: LIST_PERIOD, Count: 1)
- Number: 1
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (BLOCKQUOTE), Has Children (First: BLOCKQUOTE, Count: 1)
- Number: 1
+ BLOCKQUOTE (line/column: 1/6-8)
- Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/8)
- Parent (BLOCKQUOTE)
- Content: "Blockquote"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="continued here.", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [99]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f161ab0
it on entry: [0x5ca51f161ab0]
--- not HTML block? -- it position: 0 -- 0x5ca51f161ab0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ab0 -- 0x5ca51f161b64
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [continued here.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: LIST_PERIOD, Count: 1)
- Number: 1
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (BLOCKQUOTE), Has Children (First: BLOCKQUOTE, Count: 1)
- Number: 1
+ BLOCKQUOTE (line/column: 1/6-8)
- Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/8)
- Parent (BLOCKQUOTE)
- Content: "Blockquote
continued here."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: LIST_PERIOD, Count: 1)
- Number: 1
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (BLOCKQUOTE), Has Children (First: BLOCKQUOTE, Count: 1)
- Number: 1
+ BLOCKQUOTE (line/column: 1/6-8)
- Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/8)
- Parent (BLOCKQUOTE)
- Content: "Blockquote
continued here."
- * -------------------------------------------- TREE END ---
---- inline to parse: [Blockquote
continued here.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="> 1. > Blockquote", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0 |
+---> resulting html: [<blockquote>
<ol>
<li>
<blockquote>
<p>Blockquote
continued here.</p>
</blockquote>
</li>
</ol>
</blockquote>
] matched!
markdown #293: [>⎵ 1.⎵ >⎵ Blockquote↵ >⎵ continued⎵ here.↵ ]
+++ found a blockquote...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 1 -- it position: 2
working block is a list? no and list_indent is 1 -- it position: 2
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 6 indent 1 -- it position: 5
+++ gap so far 0 blanks, working column: 5, it column 6, list indent: 1 -- it position: 5
+++ found a blockquote...
column: 8 indent 1 -- it position: 7
+++ gap so far 0 blanks, working column: 8, it column 8, list indent: 1 -- it position: 7
working block is a list? no and list_indent is 1 -- it position: 7
>> parse for list [66]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 7
+++ not a list or blockquote? -- it position: 7
any containers (other than line)? -- it position: 7
--- not empty? -- it position: 7
--- not indented block? -- it position: 7
--- not fenced block? -- it position: 7 -- 0x5ca51f161b04
it on entry: [0x5ca51f161b04]
--- not HTML block? -- it position: 7 -- 0x5ca51f161b04
--- not header? -- it position: 7
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 7
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 7 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161b04 -- 0x5ca51f161b7c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 8 & 6 & no parent
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: LIST_PERIOD, Count: 1)
- Number: 1
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (BLOCKQUOTE), Has Children (First: BLOCKQUOTE, Count: 1)
- Number: 1
+ BLOCKQUOTE (line/column: 1/6-8)
- Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/8)
- Parent (BLOCKQUOTE)
- Content: "Blockquote"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="> continued here.", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
+++ found a blockquote...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 3, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [99]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f161ac8
it on entry: [0x5ca51f161ac8]
--- not HTML block? -- it position: 2 -- 0x5ca51f161ac8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f161ab0 -- 0x5ca51f161ac8 -- 0x5ca51f161b7c
link child
save working child
end paragraph handling
---- paragraph
+++ link following blockquote? 0x5ca51f15fd40
- * ---------------------------- B TREE:
+ PARAGRAPH (line/column: 2/3)
- Content: "continued here."
- * ---------------------------- B TREE END ---
- * ---------------------------- LAST BLOCK TREE:
+ PARAGRAPH (line/column: 1/8)
- Parent (BLOCKQUOTE)
- Content: "Blockquote"
- * ---------------------------- LAST BLOCK TREE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: LIST_PERIOD, Count: 1)
- Number: 1
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (BLOCKQUOTE), Has Children (First: BLOCKQUOTE, Count: 1)
- Number: 1
+ BLOCKQUOTE (line/column: 1/6-8)
- Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/8)
- Parent (BLOCKQUOTE)
- Content: "Blockquote
continued here."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: BLOCKQUOTE, Count: 1)
- Block is followed by at least one empty line
+ BLOCKQUOTE (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: LIST_PERIOD, Count: 1)
- Number: 1
+ LIST_PERIOD (line/column: 1/3-5)
- Parent (BLOCKQUOTE), Has Children (First: BLOCKQUOTE, Count: 1)
- Number: 1
+ BLOCKQUOTE (line/column: 1/6-8)
- Parent (LIST_PERIOD), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/8)
- Parent (BLOCKQUOTE)
- Content: "Blockquote
continued here."
- * -------------------------------------------- TREE END ---
---- inline to parse: [Blockquote
continued here.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [ |
+---> resulting html: [<blockquote>
<ol>
<li>
<blockquote>
<p>Blockquote
continued here.</p>
</blockquote>
</li>
</ol>
</blockquote>
] matched!
markdown #294: [-⎵ foo↵ ⎵ ⎵ -⎵ bar↵ ⎵ ⎵ ⎵ ⎵ -⎵ baz↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ -⎵ boo↵ ]
45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f169a80
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - bar", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 0 blanks, working column: 4, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? YES and list_indent is 2147483647 -- it position: 4
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ link sub-list? working parent column: 3, last parent end-column: 2
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/5)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - baz", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? no and list_indent is 2147483647 -- it position: 4
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 7 indent 2147483647 -- it position: 6
+++ gap so far 0 blanks, working column: 6, it column 7, list indent: 2147483647 -- it position: 6
working block is a list? YES and list_indent is 2147483647 -- it position: 6
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 6
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f1685a8
it on entry: [0x5ca51f1685a8]
--- not HTML block? -- it position: 6 -- 0x5ca51f1685a8
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f168560 -- 0x5ca51f1685a8 -- 0x5ca51f1685cc
link child
save working child
end paragraph handling
---- paragraph
+++ link sub-list? working parent column: 5, last parent end-column: 4
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 2/5)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/5-6)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/7)
- Parent (LIST_DASH)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - boo", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 2147483647 -- it position: 5
column: 6 indent 2147483647 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 2147483647 -- it position: 6
column: 7 indent 2147483647 -- it position: 6
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 2147483647 -- it position: 6
working block is a list? no and list_indent is 2147483647 -- it position: 6
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 9 indent 2147483647 -- it position: 8
+++ gap so far 0 blanks, working column: 8, it column 9, list indent: 2147483647 -- it position: 8
working block is a list? YES and list_indent is 2147483647 -- it position: 8
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 8
+++ not a list or blockquote? -- it position: 8
any containers (other than line)? -- it position: 8
--- not empty? -- it position: 8
--- not indented block? -- it position: 8
--- not fenced block? -- it position: 8 -- 0x5ca51f1685c0
it on entry: [0x5ca51f1685c0]
--- not HTML block? -- it position: 8 -- 0x5ca51f1685c0
--- not header? -- it position: 8
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 8
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 8 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f168560 -- 0x5ca51f1685c0 -- 0x5ca51f1685e4
link child
save working child
end paragraph handling
---- paragraph
+++ link sub-list? working parent column: 7, last parent end-column: 6
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 2/5)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/5-6)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 3/7)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "baz"
+ LIST_DASH (line/column: 4/7-8)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/9)
- Parent (LIST_DASH)
- Content: "boo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 2/5)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/5-6)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 3/7)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "baz"
+ LIST_DASH (line/column: 4/7-8)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/9)
- Parent (LIST_DASH)
- Content: "boo"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---- inline to parse: [baz]
---- inline to parse: [boo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: |
+---> resulting html: [<ul>
<li>foo
<ul>
<li>bar
<ul>
<li>baz
<ul>
<li>boo</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
] matched!
markdown #295: [-⎵ foo↵ ⎵ -⎵ bar↵ ⎵ ⎵ -⎵ baz↵ ⎵ ⎵ ⎵ -⎵ boo↵ ]
0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - bar", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
working block is a list? no and list_indent is 2147483647 -- it position: 1
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 0 blanks, working column: 3, it column 4, list indent: 2147483647 -- it position: 3
working block is a list? YES and list_indent is 2147483647 -- it position: 3
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15f864
it on entry: [0x5ca51f15f864]
--- not HTML block? -- it position: 3 -- 0x5ca51f15f864
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f864 -- 0x5ca51f15f888
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 4 & 2 & 2
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/2-3)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - baz", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 0 blanks, working column: 4, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? YES and list_indent is 2147483647 -- it position: 4
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 5 & 3 & 3
+++ link new? 0x5ca51f16a2f0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/2-3)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/3-4)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/5)
- Parent (LIST_DASH)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - boo", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
working block is a list? no and list_indent is 2147483647 -- it position: 3
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 6 indent 2147483647 -- it position: 5
+++ gap so far 0 blanks, working column: 5, it column 6, list indent: 2147483647 -- it position: 5
working block is a list? YES and list_indent is 2147483647 -- it position: 5
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 5
+++ not a list or blockquote? -- it position: 5
any containers (other than line)? -- it position: 5
--- not empty? -- it position: 5
--- not indented block? -- it position: 5
--- not fenced block? -- it position: 5 -- 0x5ca51f15f87c
it on entry: [0x5ca51f15f87c]
--- not HTML block? -- it position: 5 -- 0x5ca51f15f87c
--- not header? -- it position: 5
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 5
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 5 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f87c -- 0x5ca51f15f8a0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 6 & 4 & 4
+++ link new? 0x5ca51f166f40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 4)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/2-3)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/3-4)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/5)
- Parent (LIST_DASH)
- Content: "baz"
+ LIST_DASH (line/column: 4/4-5)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/6)
- Parent (LIST_DASH)
- Content: "boo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 4)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/2-3)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/3-4)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/5)
- Parent (LIST_DASH)
- Content: "baz"
+ LIST_DASH (line/column: 4/4-5)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/6)
- Parent (LIST_DASH)
- Content: "boo"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---- inline to parse: [baz]
---- inline to parse: [boo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="10) foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [49]...
>> numbered list...
>> list type [41]...
|
+---> resulting html: [<ul>
<li>foo</li>
<li>bar</li>
<li>baz</li>
<li>boo</li>
</ul>
] matched!
markdown #296: [10)⎵ foo↵ ⎵ ⎵ ⎵ ⎵ -⎵ bar↵ ]
+++ found a list...
column: 5 indent 1 -- it position: 4
+++ gap so far 0 blanks, working column: 4, it column 5, list indent: 1 -- it position: 4
working block is a list? YES and list_indent is 1 -- it position: 4
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f169a80
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PARENTHESIS, Count: 1)
- Block is followed by at least one empty line
+ LIST_PARENTHESIS (line/column: 1/1-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 10
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PARENTHESIS)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - bar", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? no and list_indent is 2147483647 -- it position: 4
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 7 indent 2147483647 -- it position: 6
+++ gap so far 0 blanks, working column: 6, it column 7, list indent: 2147483647 -- it position: 6
working block is a list? YES and list_indent is 2147483647 -- it position: 6
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 6
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f1683e8
it on entry: [0x5ca51f1683e8]
--- not HTML block? -- it position: 6 -- 0x5ca51f1683e8
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1683a0 -- 0x5ca51f1683e8 -- 0x5ca51f16840c
link child
save working child
end paragraph handling
---- paragraph
+++ link sub-list? working parent column: 5, last parent end-column: 4
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PARENTHESIS, Count: 1)
- Block is followed by at least one empty line
+ LIST_PARENTHESIS (line/column: 1/1-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
- Number: 10
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (LIST_DASH), Parent (LIST_PARENTHESIS)
- Content: "foo"
+ LIST_DASH (line/column: 2/5-6)
- Previous Sibling (PARAGRAPH), Parent (LIST_PARENTHESIS), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/7)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PARENTHESIS, Count: 1)
- Block is followed by at least one empty line
+ LIST_PARENTHESIS (line/column: 1/1-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
- Number: 10
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (LIST_DASH), Parent (LIST_PARENTHESIS)
- Content: "foo"
+ LIST_DASH (line/column: 2/5-6)
- Previous Sibling (PARAGRAPH), Parent (LIST_PARENTHESIS), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/7)
- Parent (LIST_DASH)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="10) foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [49]...
>> numbered list...
|
+---> resulting html: [<ol start="10">
<li>foo
<ul>
<li>bar</li>
</ul>
</li>
</ol>
] matched!
markdown #297: [10)⎵ foo↵ ⎵ ⎵ ⎵ -⎵ bar↵ ]
>> list type [41]...
+++ found a list...
column: 5 indent 1 -- it position: 4
+++ gap so far 0 blanks, working column: 4, it column 5, list indent: 1 -- it position: 4
working block is a list? YES and list_indent is 1 -- it position: 4
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f16a3d0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PARENTHESIS, Count: 1)
- Block is followed by at least one empty line
+ LIST_PARENTHESIS (line/column: 1/1-4)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 10
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PARENTHESIS)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - bar", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
working block is a list? no and list_indent is 2147483647 -- it position: 3
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 6 indent 2147483647 -- it position: 5
+++ gap so far 0 blanks, working column: 5, it column 6, list indent: 2147483647 -- it position: 5
working block is a list? YES and list_indent is 2147483647 -- it position: 5
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 5
+++ not a list or blockquote? -- it position: 5
any containers (other than line)? -- it position: 5
--- not empty? -- it position: 5
--- not indented block? -- it position: 5
--- not fenced block? -- it position: 5 -- 0x5ca51f15f87c
it on entry: [0x5ca51f15f87c]
--- not HTML block? -- it position: 5 -- 0x5ca51f15f87c
--- not header? -- it position: 5
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 5
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 5 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f87c -- 0x5ca51f15f8a0
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 6 & 4 & 4
+++ link new? 0x5ca51f169a80
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PARENTHESIS, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_PARENTHESIS (line/column: 1/1-4)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 10
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PARENTHESIS)
- Content: "foo"
+ LIST_DASH (line/column: 2/4-5)
- Previous Sibling (LIST_PARENTHESIS), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/6)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PARENTHESIS, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_PARENTHESIS (line/column: 1/1-4)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 10
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_PARENTHESIS)
- Content: "foo"
+ LIST_DASH (line/column: 2/4-5)
- Previous Sibling (LIST_PARENTHESIS), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/6)
- Parent (LIST_DASH)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- - foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [ |
+---> resulting html: [<ol start="10">
<li>foo</li>
</ol>
<ul>
<li>bar</li>
</ul>
] matched!
markdown #298: [-⎵ -⎵ foo↵ ]
45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 5 indent 1 -- it position: 4
+++ gap so far 0 blanks, working column: 4, it column 5, list indent: 1 -- it position: 4
working block is a list? YES and list_indent is 1 -- it position: 4
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 5 & 3 & no parent
+++ link new? 0x5ca51f169a80
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: LIST_DASH, Count: 1)
+ LIST_DASH (line/column: 1/3-4)
- Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: LIST_DASH, Count: 1)
+ LIST_DASH (line/column: 1/3-4)
- Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="1. - 2. foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? |
+---> resulting html: [<ul>
<li>
<ul>
<li>foo</li>
</ul>
</li>
</ul>
] matched!
markdown #299: [1.⎵ -⎵ 2.⎵ foo↵ ]
no and list_indent is 1 -- it position: 0
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 4 indent 1 -- it position: 3
+++ gap so far 0 blanks, working column: 3, it column 4, list indent: 1 -- it position: 3
working block is a list? YES and list_indent is 1 -- it position: 3
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 6 indent 1 -- it position: 5
+++ gap so far 0 blanks, working column: 5, it column 6, list indent: 1 -- it position: 5
working block is a list? YES and list_indent is 1 -- it position: 5
>> parse for list [50]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 9 indent 1 -- it position: 8
+++ gap so far 0 blanks, working column: 8, it column 9, list indent: 1 -- it position: 8
working block is a list? YES and list_indent is 1 -- it position: 8
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 8
+++ not a list or blockquote? -- it position: 8
any containers (other than line)? -- it position: 8
--- not empty? -- it position: 8
--- not indented block? -- it position: 8
--- not fenced block? -- it position: 8 -- 0x5ca51f1685c0
it on entry: [0x5ca51f1685c0]
--- not HTML block? -- it position: 8 -- 0x5ca51f1685c0
--- not header? -- it position: 8
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 8
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 8 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f168560 -- 0x5ca51f1685c0 -- 0x5ca51f1685e4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 9 & 6 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: LIST_DASH, Count: 1)
- Number: 1
+ LIST_DASH (line/column: 1/4-5)
- Parent (LIST_PERIOD), Has Children (First: LIST_PERIOD, Count: 1)
+ LIST_PERIOD (line/column: 1/6-8)
- Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
+ PARAGRAPH (line/column: 1/9)
- Parent (LIST_PERIOD)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: LIST_DASH, Count: 1)
- Number: 1
+ LIST_DASH (line/column: 1/4-5)
- Parent (LIST_PERIOD), Has Children (First: LIST_PERIOD, Count: 1)
+ LIST_PERIOD (line/column: 1/6-8)
- Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
+ PARAGRAPH (line/column: 1/9)
- Parent (LIST_PERIOD)
- Content: "foo"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- # Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [ |
+---> resulting html: [<ol>
<li>
<ul>
<li>
<ol start="2">
<li>foo</li>
</ol>
</li>
</ul>
</li>
</ol>
] matched!
markdown #300: [-⎵ #⎵ Foo↵ -⎵ Bar↵ ⎵ ⎵ ---↵ ⎵ ⎵ baz↵ ]
45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [35]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
---- header
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f169a80
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Count: 1)
+ HEADER_OPEN (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
- Number: 1
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- Bar", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [66]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Count: 1)
+ HEADER_OPEN (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
- Number: 1
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "Bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ---", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [45]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
>>> sub-block? 0
- * ---------------------------- DOCUMENT TREE SO FAR:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Count: 1)
+ HEADER_OPEN (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
- Number: 1
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "Bar"
- * ---------------------------- DOCUMENT TREE SO FAR END ---
- * ---------------------------- WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- WORKING BLOCK END ---
last block: not in block quote & working block: not in block quote
- * ---------------------------- LAST BLOCK:
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "Bar"
- * ---------------------------- LAST BLOCK END ---
- * ---------------------------- TOP WORKING BLOCK:
+ LINE (line/column: 3/1)
- * ---------------------------- TOP WORKING BLOCK END ---
--- unlink: 182 --- parent 0x5ca51f1683b0 --- next 0 --- previous 0
- * ---------------------------- DOCUMENT TREE AFTER UNLINK
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Count: 1)
+ HEADER_OPEN (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
- Number: 1
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- * ---------------------------- DOCUMENT TREE AFTER UNLINK END ---
---- setext fully handled
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Count: 1)
+ HEADER_OPEN (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
- Number: 1
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: HEADER_SINGLE, Count: 1)
+ HEADER_SINGLE (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "Bar"
- Number: 2
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" baz", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ append list item? 0x5ca51f16a2f0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Count: 1)
+ HEADER_OPEN (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
- Number: 1
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: HEADER_SINGLE, Last: TEXT, Count: 2)
+ HEADER_SINGLE (line/column: 3/3)
- Next Sibling (TEXT), Parent (LIST_DASH)
- Content: "Bar"
- Number: 2
+ TEXT (line/column: 4/3)
- Previous Sibling (HEADER_SINGLE), Parent (LIST_DASH)
- Content: "
baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: HEADER_OPEN, Count: 1)
+ HEADER_OPEN (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "Foo"
- Number: 1
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: HEADER_SINGLE, Last: TEXT, Count: 2)
+ HEADER_SINGLE (line/column: 3/3)
- Next Sibling (TEXT), Parent (LIST_DASH)
- Content: "Bar"
- Number: 2
+ TEXT (line/column: 4/3)
- Previous Sibling (HEADER_SINGLE), Parent (LIST_DASH)
- Content: "
baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---- inline to parse: [Bar]
---- inline to parse: [
baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0 |
+---> resulting html: [<ul>
<li>
<h1>Foo</h1>
</li>
<li>
<h2>Bar</h2>
baz</li>
</ul>
] matched!
markdown #301: [-⎵ foo↵ -⎵ bar↵ +⎵ baz↵ ]
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- bar", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f166f40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="+ baz", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [43]...
>> list type [43]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 1 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f16a2f0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_PLUS, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (LIST_PLUS), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
+ LIST_PLUS (line/column: 3/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_PLUS)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_PLUS, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (LIST_PLUS), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
+ LIST_PLUS (line/column: 3/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_PLUS)
- Content: "baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---- inline to parse: [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="1. foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [49]...
>> numbered list...
>> list type [ |
+---> resulting html: [<ul>
<li>foo</li>
<li>bar</li>
</ul>
<ul>
<li>baz</li>
</ul>
] matched!
markdown #302: [1.⎵ foo↵ 2.⎵ bar↵ 3)⎵ baz↵ ]
46]...
+++ found a list...
column: 4 indent 1 -- it position: 3
+++ gap so far 0 blanks, working column: 3, it column 4, list indent: 1 -- it position: 3
working block is a list? YES and list_indent is 1 -- it position: 3
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15f864
it on entry: [0x5ca51f15f864]
--- not HTML block? -- it position: 3 -- 0x5ca51f15f864
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f864 -- 0x5ca51f15f888
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 4 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="2. bar", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [50]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 0 blanks, working column: 3, it column 4, list indent: 2147483647 -- it position: 3
working block is a list? YES and list_indent is 2147483647 -- it position: 3
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15f864
it on entry: [0x5ca51f15f864]
--- not HTML block? -- it position: 3 -- 0x5ca51f15f864
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f864 -- 0x5ca51f15f888
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 4 & 1 & 3
+++ link new? 0x5ca51f16a2f0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Last: LIST_PERIOD, Count: 2)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "foo"
+ LIST_PERIOD (line/column: 2/1-3)
- Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_PERIOD)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="3) baz", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [51]...
>> numbered list...
>> list type [41]...
+++ found a list...
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 0 blanks, working column: 3, it column 4, list indent: 2147483647 -- it position: 3
working block is a list? YES and list_indent is 2147483647 -- it position: 3
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15f864
it on entry: [0x5ca51f15f864]
--- not HTML block? -- it position: 3 -- 0x5ca51f15f864
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f864 -- 0x5ca51f15f888
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 4 & 1 & 3
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Last: LIST_PARENTHESIS, Count: 3)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "foo"
+ LIST_PERIOD (line/column: 2/1-3)
- Next Sibling (LIST_PARENTHESIS), Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_PERIOD)
- Content: "bar"
+ LIST_PARENTHESIS (line/column: 3/1-3)
- Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 3
+ PARAGRAPH (line/column: 3/4)
- Parent (LIST_PARENTHESIS)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Last: LIST_PARENTHESIS, Count: 3)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "foo"
+ LIST_PERIOD (line/column: 2/1-3)
- Next Sibling (LIST_PARENTHESIS), Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_PERIOD)
- Content: "bar"
+ LIST_PARENTHESIS (line/column: 3/1-3)
- Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 3
+ PARAGRAPH (line/column: 3/4)
- Parent (LIST_PARENTHESIS)
- Content: "baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---- inline to parse: [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="Foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [70]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: |
+---> resulting html: [<ol>
<li>foo</li>
<li>bar</li>
</ol>
<ol start="3">
<li>baz</li>
</ol>
] matched!
markdown #303: [Foo↵ -⎵ bar↵ -⎵ baz↵ ]
0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f164a40
it on entry: [0x5ca51f164a40]
--- not HTML block? -- it position: 0 -- 0x5ca51f164a40
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a40 -- 0x5ca51f164a64
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "Foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- bar", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no
columns (w/wp/lp): 3 & 1 & 1
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "Foo"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- baz", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f169a80
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "Foo"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "Foo"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [Foo]
---- inline to parse: [bar]
---- inline to parse: [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="The number of windows in my house is", list?=(no parent) |
+---> resulting html: [<p>Foo</p>
<ul>
<li>bar</li>
<li>baz</li>
</ul>
] matched!
markdown #304: [The⎵ number⎵ of⎵ windows⎵ in⎵ my⎵ house⎵ is↵ 14.⎵ ⎵ The⎵ number⎵ of⎵ doors⎵ is⎵ 6.↵ ]
, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [84]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1636c0 -- 0x5ca51f1636c0 -- 0x5ca51f163870
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f16a3d0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "The number of windows in my house is"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="14. The number of doors is 6.", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [49]...
>> numbered list...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1636c0 -- 0x5ca51f1636c0 -- 0x5ca51f163828
link child
save working child
end paragraph handling
---- paragraph
+++ append to existing block code or paragraph? [14. The number of doors is 6.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "The number of windows in my house is
14. The number of [...]"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "The number of windows in my house is
14. The number of [...]"
- * -------------------------------------------- TREE END ---
---- inline to parse: [The number of windows in my house is
14. The number of doors is 6.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="The number of windows in my house is", list?=(no parent) |
+---> resulting html: [<p>The number of windows in my house is
14. The number of doors is 6.</p>
] matched!
markdown #305: [The⎵ number⎵ of⎵ windows⎵ in⎵ my⎵ house⎵ is↵ 1.⎵ ⎵ The⎵ number⎵ of⎵ doors⎵ is⎵ 6.↵ ]
, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [84]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f1636c0
it on entry: [0x5ca51f1636c0]
--- not HTML block? -- it position: 0 -- 0x5ca51f1636c0
--- not header? -- it position: 0
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 0
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 0 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f1636c0 -- 0x5ca51f1636c0 -- 0x5ca51f163870
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? no parent
columns (w/wp/lp): 1 & 1 & no parent
+++ link new? 0x5ca51f166f40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Parent (DOCUMENT)
- Content: "The number of windows in my house is"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="1. The number of doors is 6.", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 1 blanks, working column: 3, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 1 blanks, working column: 3, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? YES and list_indent is 2147483647 -- it position: 4
>> parse for list [84]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
setup character
create paragraph
add content -- 0x5ca51f1636c0 -- 0x5ca51f1636f0 -- 0x5ca51f16381c
link child
save working child
end paragraph handling
---- early paragraph WITHOUT list sub-block = 5 >= 0 + 4
+++ working parent is list? LIST
last parent is list? no
columns (w/wp/lp): 5 & 1 & 1
+++ link new? 0x5ca51f16a3d0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: LIST_PERIOD, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT)
- Content: "The number of windows in my house is"
+ LIST_PERIOD (line/column: 2/1-3)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 2/5)
- Parent (LIST_PERIOD)
- Content: "The number of doors is 6."
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: PARAGRAPH, Last: LIST_PERIOD, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/1)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT)
- Content: "The number of windows in my house is"
+ LIST_PERIOD (line/column: 2/1-3)
- Previous Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 2/5)
- Parent (LIST_PERIOD)
- Content: "The number of doors is 6."
- * -------------------------------------------- TREE END ---
---- inline to parse: [The number of windows in my house is]
---- inline to parse: [The number of doors is 6.]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
|
+---> resulting html: [<p>The number of windows in my house is</p>
<ol>
<li>The number of doors is 6.</li>
</ol>
] matched!
markdown #306: [-⎵ foo↵ ↵ -⎵ bar↵ ↵ ↵ -⎵ baz↵ ]
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f16a3d0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="- bar", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 3 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 3 -- it position: 0
working block is a list? no and list_indent is 3 -- it position: 0
>> parse for list [45]...
>> list computed gap 1 vs first child 3
>> list type [45]...
+++ found a list...
column: 3 indent 3 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 3 -- it position: 2
working block is a list? YES and list_indent is 3 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 2
then compare 3 vs list_indent + 4 = 7 -- it position: 2
+++ this is a list item followed by this additional paragraph: 3 or 3 >= 3 blanks! (working column: 2 -- it position: 2)
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ add sibling to list? (list sub-block: 3)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 3/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 3/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 3/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 3/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 3/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="- baz", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 3 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 3 -- it position: 0
working block is a list? no and list_indent is 3 -- it position: 0
>> parse for list [45]...
>> list computed gap 1 vs first child 3
>> list type [45]...
+++ found a list...
column: 3 indent 3 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 3 -- it position: 2
working block is a list? YES and list_indent is 3 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 2
then compare 3 vs list_indent + 4 = 7 -- it position: 2
+++ this is a list item followed by this additional paragraph: 3 or 3 >= 3 blanks! (working column: 2 -- it position: 2)
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ add sibling to list? (list sub-block: 3)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 3/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 6/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 6/3)
- Parent (LIST_DASH)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 3/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/3)
- Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 6/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 6/3)
- Parent (LIST_DASH)
- Content: "baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---- inline to parse: [baz]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: |
+---> resulting html: [<ul>
<li>
<p>foo</p>
</li>
<li>
<p>bar</p>
</li>
<li>
<p>baz</p>
</li>
</ul>
] matched!
markdown #307: [-⎵ foo↵ ⎵ ⎵ -⎵ bar↵ ⎵ ⎵ ⎵ ⎵ -⎵ baz↵ ↵ ↵ ⎵ ⎵ ⎵ ⎵ ⎵ ⎵ bim↵ ]
2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - bar", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 0 blanks, working column: 4, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? YES and list_indent is 2147483647 -- it position: 4
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ link sub-list? working parent column: 3, last parent end-column: 2
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/5)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - baz", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? no and list_indent is 2147483647 -- it position: 4
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 7 indent 2147483647 -- it position: 6
+++ gap so far 0 blanks, working column: 6, it column 7, list indent: 2147483647 -- it position: 6
working block is a list? YES and list_indent is 2147483647 -- it position: 6
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 6
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f162fc8
it on entry: [0x5ca51f162fc8]
--- not HTML block? -- it position: 6 -- 0x5ca51f162fc8
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162f80 -- 0x5ca51f162fc8 -- 0x5ca51f162fec
link child
save working child
end paragraph handling
---- paragraph
+++ link sub-list? working parent column: 5, last parent end-column: 4
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 2/5)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/5-6)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/7)
- Parent (LIST_DASH)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 2/5)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/5-6)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/7)
- Parent (LIST_DASH)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/7)
- Parent (LIST_DASH)
- Content: "baz"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 2/5)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/5-6)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/7)
- Parent (LIST_DASH)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=7, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 2/5)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/5-6)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/7)
- Parent (LIST_DASH)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/7)
- Parent (LIST_DASH)
- Content: "baz"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 2/5)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/5-6)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/7)
- Parent (LIST_DASH)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=7, f_last_line=" bim", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 7 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 7 -- it position: 1
column: 2 indent 7 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 7 -- it position: 2
column: 3 indent 7 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 7 -- it position: 3
column: 4 indent 7 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 7 -- it position: 4
column: 5 indent 7 -- it position: 4
+++ gap so far 5 blanks, working column: 1, it column 6, list indent: 7 -- it position: 5
column: 6 indent 7 -- it position: 5
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 7 -- it position: 6
column: 7 indent 7 -- it position: 6
+++ gap so far 6 blanks, working column: 1, it column 7, list indent: 7 -- it position: 6
working block is a list? no and list_indent is 7 -- it position: 6
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 7 -- it position: 6
then compare 7 vs list_indent + 4 = 11 -- it position: 6
+++ this is a list item followed by this additional paragraph: 7 or 7 >= 7 blanks! (working column: 1 -- it position: 6)
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f162fc8
it on entry: [0x5ca51f162fc8]
--- not HTML block? -- it position: 6 -- 0x5ca51f162fc8
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f162f80 -- 0x5ca51f162fc8 -- 0x5ca51f162fec
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 7)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 2/5)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/5-6)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/7)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "baz"
+ PARAGRAPH (line/column: 6/7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bim"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=7, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 2/5)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "bar"
+ LIST_DASH (line/column: 3/5-6)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/7)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "baz"
+ PARAGRAPH (line/column: 6/7)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "bim"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---- inline to parse: [baz]
---- inline to parse: [bim]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
|
+---> resulting html: [<ul>
<li>foo
<ul>
<li>bar
<ul>
<li>
<p>baz</p>
<p>bim</p>
</li>
</ul>
</li>
</ul>
</li>
</ul>
] matched!
markdown #308: [-⎵ foo↵ -⎵ bar↵ ↵ <!--⎵ -->↵ ↵ -⎵ baz↵ -⎵ bim↵ ]
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- bar", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f16a2f0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="<!-- -->", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 3 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 3 -- it position: 0
working block is a list? no and list_indent is 3 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 0
then compare 1 vs list_indent + 4 = 7 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f15f840
it on entry: [0x5ca51f15f840]
it column 1 vs 1
* checking for comment: <!-- -->
+---> state 0 current end of string: [ -->]
+---> state 0 current end of string: [-->]
+---> state 1 current end of string: [->]
+---> state 2 current end of string: [>]
---- got HTML block
+++ working parent is list? no
last parent is list? LIST
columns (w/wp/lp): 1 & 1 & 2
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: TAG, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (TAG), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
+ TAG (line/column: 4/1)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "<!-- -->
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: TAG, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (TAG), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
+ TAG (line/column: 4/1)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "<!-- -->
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ TAG (line/column: 4/1)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "<!-- -->
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: TAG, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (TAG), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
+ TAG (line/column: 4/1)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "<!-- -->
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- baz", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no
columns (w/wp/lp): 3 & 1 & 1
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 4)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (TAG), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
+ TAG (line/column: 4/1)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "<!-- -->
"
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 6/1-2)
- Previous Sibling (TAG), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 6/3)
- Parent (LIST_DASH)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- bim", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 5)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (TAG), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
+ TAG (line/column: 4/1)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "<!-- -->
"
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 6/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (TAG), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 6/3)
- Parent (LIST_DASH)
- Content: "baz"
+ LIST_DASH (line/column: 7/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 7/3)
- Parent (LIST_DASH)
- Content: "bim"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 5)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "foo"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (TAG), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "bar"
+ TAG (line/column: 4/1)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "<!-- -->
"
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 6/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (TAG), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 6/3)
- Parent (LIST_DASH)
- Content: "baz"
+ LIST_DASH (line/column: 7/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 7/3)
- Parent (LIST_DASH)
- Content: "bim"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---- inline to parse: [baz]
---- inline to parse: [bim]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? |
+---> resulting html: [<ul>
<li>foo</li>
<li>bar</li>
</ul>
<!-- -->
<ul>
<li>baz</li>
<li>bim</li>
</ul>
] matched!
markdown #309: [-⎵ ⎵ ⎵ foo↵ ↵ ⎵ ⎵ ⎵ ⎵ notcode↵ ↵ -⎵ ⎵ ⎵ foo↵ ↵ <!--⎵ -->↵ ↵ ⎵ ⎵ ⎵ ⎵ code↵ ]
no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 1 blanks, working column: 2, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 2 blanks, working column: 2, it column 5, list indent: 1 -- it position: 4
column: 5 indent 1 -- it position: 4
+++ gap so far 2 blanks, working column: 2, it column 5, list indent: 1 -- it position: 4
working block is a list? YES and list_indent is 1 -- it position: 4
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15fc10
it on entry: [0x5ca51f15fc10]
--- not HTML block? -- it position: 4 -- 0x5ca51f15fc10
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15fbe0 -- 0x5ca51f15fc10 -- 0x5ca51f15fc34
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 5 & 1 & no parent
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line=" notcode", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 5 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 5 -- it position: 1
column: 2 indent 5 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 5 -- it position: 2
column: 3 indent 5 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 5 -- it position: 3
column: 4 indent 5 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
column: 5 indent 5 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
working block is a list? no and list_indent is 5 -- it position: 4
>> parse for list [110]...
>> not a list mark...
but after calling parse_list() we have list_indent = 5 -- it position: 4
then compare 5 vs list_indent + 4 = 9 -- it position: 4
+++ this is a list item followed by this additional paragraph: 5 or 5 >= 5 blanks! (working column: 1 -- it position: 4)
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f16a3f0
it on entry: [0x5ca51f16a3f0]
--- not HTML block? -- it position: 4 -- 0x5ca51f16a3f0
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f16a3c0 -- 0x5ca51f16a3f0 -- 0x5ca51f16a444
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 5)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "notcode"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "notcode"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "notcode"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "notcode"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line="- foo", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 5 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 5 -- it position: 0
working block is a list? no and list_indent is 5 -- it position: 0
>> parse for list [45]...
>> list computed gap 1 vs first child 5
>> list type [45]...
+++ found a list...
column: 3 indent 5 -- it position: 2
+++ gap so far 1 blanks, working column: 2, it column 4, list indent: 5 -- it position: 3
column: 4 indent 5 -- it position: 3
+++ gap so far 2 blanks, working column: 2, it column 5, list indent: 5 -- it position: 4
column: 5 indent 5 -- it position: 4
+++ gap so far 2 blanks, working column: 2, it column 5, list indent: 5 -- it position: 4
working block is a list? YES and list_indent is 5 -- it position: 4
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 5 -- it position: 4
then compare 5 vs list_indent + 4 = 9 -- it position: 4
+++ this is a list item followed by this additional paragraph: 5 or 5 >= 5 blanks! (working column: 2 -- it position: 4)
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f16a3f0
it on entry: [0x5ca51f16a3f0]
--- not HTML block? -- it position: 4 -- 0x5ca51f16a3f0
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f16a3c0 -- 0x5ca51f16a3f0 -- 0x5ca51f16a414
link child
save working child
end paragraph handling
---- paragraph
+++ add sibling to list? (list sub-block: 5)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "notcode"
+ LIST_DASH (line/column: 5/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 5/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "notcode"
+ LIST_DASH (line/column: 5/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 5/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "notcode"
+ LIST_DASH (line/column: 5/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/5)
- Parent (LIST_DASH)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line="<!-- -->", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 5 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 5 -- it position: 0
working block is a list? no and list_indent is 5 -- it position: 0
>> parse for list [60]...
>> not a list mark...
but after calling parse_list() we have list_indent = 5 -- it position: 0
then compare 1 vs list_indent + 4 = 9 -- it position: 0
+++ not a list or blockquote? -- it position: 0
any containers (other than line)? -- it position: 0
--- not empty? -- it position: 0
--- not indented block? -- it position: 0
--- not fenced block? -- it position: 0 -- 0x5ca51f16a3c0
it on entry: [0x5ca51f16a3c0]
it column 1 vs 1
* checking for comment: <!-- -->
+---> state 0 current end of string: [ -->]
+---> state 0 current end of string: [-->]
+---> state 1 current end of string: [->]
+---> state 2 current end of string: [>]
---- got HTML block
+++ working parent is list? no
last parent is list? LIST
columns (w/wp/lp): 1 & 1 & 2
+++ link new? 0x5ca51f16a2f0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: TAG, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "notcode"
+ LIST_DASH (line/column: 5/1-2)
- Next Sibling (TAG), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/5)
- Parent (LIST_DASH)
- Content: "foo"
+ TAG (line/column: 7/1)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "<!-- -->
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: TAG, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "notcode"
+ LIST_DASH (line/column: 5/1-2)
- Next Sibling (TAG), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/5)
- Parent (LIST_DASH)
- Content: "foo"
+ TAG (line/column: 7/1)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "<!-- -->
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ TAG (line/column: 7/1)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "<!-- -->
"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: TAG, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "notcode"
+ LIST_DASH (line/column: 5/1-2)
- Next Sibling (TAG), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/5)
- Parent (LIST_DASH)
- Content: "foo"
+ TAG (line/column: 7/1)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "<!-- -->
"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" code", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ got a gap of 4 >= 4 blanks! (working column/end: 1/1, it column 5, list indent + 4: 5 -- it position: 4) TOP has-empty-line has-parent
---- gap return with f_list_subblock of 0
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? no
columns (w/wp/lp): 5 & 1 & 1
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: CODE_BLOCK_INDENTED, Count: 4)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "notcode"
+ LIST_DASH (line/column: 5/1-2)
- Next Sibling (TAG), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/5)
- Parent (LIST_DASH)
- Content: "foo"
+ TAG (line/column: 7/1)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "<!-- -->
"
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 9/5)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "code
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: CODE_BLOCK_INDENTED, Count: 4)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "foo"
+ PARAGRAPH (line/column: 3/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "notcode"
+ LIST_DASH (line/column: 5/1-2)
- Next Sibling (TAG), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 5/5)
- Parent (LIST_DASH)
- Content: "foo"
+ TAG (line/column: 7/1)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (LIST_DASH), Parent (DOCUMENT)
- Content: "<!-- -->
"
- Block is followed by at least one empty line
+ CODE_BLOCK_INDENTED (line/column: 9/5)
- Previous Sibling (TAG), Parent (DOCUMENT)
- Content: "code
"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [notcode]
---- inline to parse: [foo]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- a", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f3e8
it on entry: [0x5ca51f15f3e8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f3e8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f3d0 -- 0x5ca51f15f3e8 -- 0x5ca51f15f3f4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f166f40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - b", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: |
+---> resulting html: [<ul>
<li>
<p>foo</p>
<p>notcode</p>
</li>
<li>
<p>foo</p>
</li>
</ul>
<!-- -->
<pre><code>code
</code></pre>
] matched!
markdown #310: [-⎵ a↵ ⎵ -⎵ b↵ ⎵ ⎵ -⎵ c↵ ⎵ ⎵ ⎵ -⎵ d↵ ⎵ ⎵ -⎵ e↵ ⎵ -⎵ f↵ -⎵ g↵ ]
1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
working block is a list? no and list_indent is 2147483647 -- it position: 1
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 0 blanks, working column: 3, it column 4, list indent: 2147483647 -- it position: 3
working block is a list? YES and list_indent is 2147483647 -- it position: 3
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15f3f4
it on entry: [0x5ca51f15f3f4]
--- not HTML block? -- it position: 3 -- 0x5ca51f15f3f4
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f3d0 -- 0x5ca51f15f3f4 -- 0x5ca51f15f400
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 4 & 2 & 2
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/2-3)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - c", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 0 blanks, working column: 4, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? YES and list_indent is 2147483647 -- it position: 4
>> parse for list [99]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 5 & 3 & 3
+++ link new? 0x5ca51f16b560
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/2-3)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_DASH)
- Content: "b"
+ LIST_DASH (line/column: 3/3-4)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/5)
- Parent (LIST_DASH)
- Content: "c"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - d", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
working block is a list? no and list_indent is 2147483647 -- it position: 3
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 6 indent 2147483647 -- it position: 5
+++ gap so far 0 blanks, working column: 5, it column 6, list indent: 2147483647 -- it position: 5
working block is a list? YES and list_indent is 2147483647 -- it position: 5
>> parse for list [100]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 5
+++ not a list or blockquote? -- it position: 5
any containers (other than line)? -- it position: 5
--- not empty? -- it position: 5
--- not indented block? -- it position: 5
--- not fenced block? -- it position: 5 -- 0x5ca51f15f87c
it on entry: [0x5ca51f15f87c]
--- not HTML block? -- it position: 5 -- 0x5ca51f15f87c
--- not header? -- it position: 5
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 5
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 5 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f87c -- 0x5ca51f15f888
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 6 & 4 & 4
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 4)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/2-3)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_DASH)
- Content: "b"
+ LIST_DASH (line/column: 3/3-4)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/5)
- Parent (LIST_DASH)
- Content: "c"
+ LIST_DASH (line/column: 4/4-5)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/6)
- Parent (LIST_DASH)
- Content: "d"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - e", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 0 blanks, working column: 4, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? YES and list_indent is 2147483647 -- it position: 4
>> parse for list [101]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 5 & 3 & 5
+++ link new? 0x5ca51f169a80
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 5)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/2-3)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_DASH)
- Content: "b"
+ LIST_DASH (line/column: 3/3-4)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/5)
- Parent (LIST_DASH)
- Content: "c"
+ LIST_DASH (line/column: 4/4-5)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/6)
- Parent (LIST_DASH)
- Content: "d"
+ LIST_DASH (line/column: 5/3-4)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 5/5)
- Parent (LIST_DASH)
- Content: "e"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - f", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
working block is a list? no and list_indent is 2147483647 -- it position: 1
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 0 blanks, working column: 3, it column 4, list indent: 2147483647 -- it position: 3
working block is a list? YES and list_indent is 2147483647 -- it position: 3
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15f864
it on entry: [0x5ca51f15f864]
--- not HTML block? -- it position: 3 -- 0x5ca51f15f864
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f864 -- 0x5ca51f15f870
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 4 & 2 & 4
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 6)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/2-3)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_DASH)
- Content: "b"
+ LIST_DASH (line/column: 3/3-4)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/5)
- Parent (LIST_DASH)
- Content: "c"
+ LIST_DASH (line/column: 4/4-5)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/6)
- Parent (LIST_DASH)
- Content: "d"
+ LIST_DASH (line/column: 5/3-4)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 5/5)
- Parent (LIST_DASH)
- Content: "e"
+ LIST_DASH (line/column: 6/2-3)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 6/4)
- Parent (LIST_DASH)
- Content: "f"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- g", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [103]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f864
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 3
+++ link new? 0x5ca51f16a3d0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 7)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/2-3)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_DASH)
- Content: "b"
+ LIST_DASH (line/column: 3/3-4)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/5)
- Parent (LIST_DASH)
- Content: "c"
+ LIST_DASH (line/column: 4/4-5)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/6)
- Parent (LIST_DASH)
- Content: "d"
+ LIST_DASH (line/column: 5/3-4)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 5/5)
- Parent (LIST_DASH)
- Content: "e"
+ LIST_DASH (line/column: 6/2-3)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 6/4)
- Parent (LIST_DASH)
- Content: "f"
+ LIST_DASH (line/column: 7/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 7/3)
- Parent (LIST_DASH)
- Content: "g"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 7)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/2-3)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_DASH)
- Content: "b"
+ LIST_DASH (line/column: 3/3-4)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/5)
- Parent (LIST_DASH)
- Content: "c"
+ LIST_DASH (line/column: 4/4-5)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/6)
- Parent (LIST_DASH)
- Content: "d"
+ LIST_DASH (line/column: 5/3-4)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 5/5)
- Parent (LIST_DASH)
- Content: "e"
+ LIST_DASH (line/column: 6/2-3)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 6/4)
- Parent (LIST_DASH)
- Content: "f"
+ LIST_DASH (line/column: 7/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 7/3)
- Parent (LIST_DASH)
- Content: "g"
- * -------------------------------------------- TREE END ---
---- inline to parse: [a]
---- inline to parse: [b]
---- inline to parse: [c]
---- inline to parse: [d]
---- inline to parse: [e]
---- inline to parse: [f]
---- inline to parse: [g]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="1. a", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 4 indent 1 -- it position: 3
+++ gap so far 0 blanks, working column: 3, it column 4, list indent: 1 -- it position: 3
working block is a list? YES and list_indent is 1 -- it position: 3
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f164a64
it on entry: [0x5ca51f164a64]
--- not HTML block? -- it position: 3 -- 0x5ca51f164a64
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a64 -- 0x5ca51f164a70
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 4 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
|
+---> resulting html: [<ul>
<li>a</li>
<li>b</li>
<li>c</li>
<li>d</li>
<li>e</li>
<li>f</li>
<li>g</li>
</ul>
] matched!
markdown #311: [1.⎵ a↵ ↵ ⎵ ⎵ 2.⎵ b↵ ↵ ⎵ ⎵ ⎵ 3.⎵ c↵ ]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=4, f_last_line=" 2. b", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 4 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 4 -- it position: 1
column: 2 indent 4 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 4 -- it position: 2
column: 3 indent 4 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 4 -- it position: 2
working block is a list? no and list_indent is 4 -- it position: 2
>> parse for list [50]...
>> numbered list...
>> list computed gap 3 vs first child 4
>> list type [46]...
+++ found a list...
column: 6 indent 4 -- it position: 5
+++ gap so far 0 blanks, working column: 5, it column 6, list indent: 4 -- it position: 5
working block is a list? YES and list_indent is 4 -- it position: 5
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 4 -- it position: 5
then compare 6 vs list_indent + 4 = 8 -- it position: 5
+++ this is a list item followed by this additional paragraph: 6 or 6 >= 4 blanks! (working column: 5 -- it position: 5)
+++ not a list or blockquote? -- it position: 5
any containers (other than line)? -- it position: 5
--- not empty? -- it position: 5
--- not indented block? -- it position: 5
--- not fenced block? -- it position: 5 -- 0x5ca51f15f87c
it on entry: [0x5ca51f15f87c]
--- not HTML block? -- it position: 5 -- 0x5ca51f15f87c
--- not header? -- it position: 5
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 5
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 5 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f87c -- 0x5ca51f15f888
link child
save working child
end paragraph handling
---- paragraph
+++ add sibling to list? (list sub-block: 4)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Last: LIST_PERIOD, Count: 2)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
+ LIST_PERIOD (line/column: 3/3-5)
- Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
+ PARAGRAPH (line/column: 3/6)
- Parent (LIST_PERIOD)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Last: LIST_PERIOD, Count: 2)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
+ LIST_PERIOD (line/column: 3/3-5)
- Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/6)
- Parent (LIST_PERIOD)
- Content: "b"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/6)
- Parent (LIST_PERIOD)
- Content: "b"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Last: LIST_PERIOD, Count: 2)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
+ LIST_PERIOD (line/column: 3/3-5)
- Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/6)
- Parent (LIST_PERIOD)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=6, f_last_line=" 3. c", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 6 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 6 -- it position: 1
column: 2 indent 6 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 6 -- it position: 2
column: 3 indent 6 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 6 -- it position: 3
column: 4 indent 6 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 6 -- it position: 3
working block is a list? no and list_indent is 6 -- it position: 3
>> parse for list [51]...
>> numbered list...
>> list computed gap 4 vs first child 6
>> list type [46]...
+++ found a list...
column: 7 indent 6 -- it position: 6
+++ gap so far 0 blanks, working column: 6, it column 7, list indent: 6 -- it position: 6
working block is a list? YES and list_indent is 6 -- it position: 6
>> parse for list [99]...
>> not a list mark...
but after calling parse_list() we have list_indent = 6 -- it position: 6
then compare 7 vs list_indent + 4 = 10 -- it position: 6
+++ this is a list item followed by this additional paragraph: 7 or 7 >= 6 blanks! (working column: 6 -- it position: 6)
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f15f888
it on entry: [0x5ca51f15f888]
--- not HTML block? -- it position: 6 -- 0x5ca51f15f888
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f888 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ add sibling to list? (list sub-block: 6)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Last: LIST_PERIOD, Count: 3)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
+ LIST_PERIOD (line/column: 3/3-5)
- Next Sibling (LIST_PERIOD), Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/6)
- Parent (LIST_PERIOD)
- Content: "b"
+ LIST_PERIOD (line/column: 5/4-6)
- Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 3
+ PARAGRAPH (line/column: 5/7)
- Parent (LIST_PERIOD)
- Content: "c"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Last: LIST_PERIOD, Count: 3)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
+ LIST_PERIOD (line/column: 3/3-5)
- Next Sibling (LIST_PERIOD), Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/6)
- Parent (LIST_PERIOD)
- Content: "b"
+ LIST_PERIOD (line/column: 5/4-6)
- Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 3
+ PARAGRAPH (line/column: 5/7)
- Parent (LIST_PERIOD)
- Content: "c"
- * -------------------------------------------- TREE END ---
---- inline to parse: [a]
---- inline to parse: [b]
---- inline to parse: [c]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- a", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: |
+---> resulting html: [<ol>
<li>
<p>a</p>
</li>
<li>
<p>b</p>
</li>
<li>
<p>c</p>
</li>
</ol>
] matched!
markdown #312: [-⎵ a↵ ⎵ -⎵ b↵ ⎵ ⎵ -⎵ c↵ ⎵ ⎵ ⎵ -⎵ d↵ ⎵ ⎵ ⎵ ⎵ -⎵ e↵ ]
2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f164a58
it on entry: [0x5ca51f164a58]
--- not HTML block? -- it position: 2 -- 0x5ca51f164a58
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a58 -- 0x5ca51f164a64
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - b", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
working block is a list? no and list_indent is 2147483647 -- it position: 1
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 0 blanks, working column: 3, it column 4, list indent: 2147483647 -- it position: 3
working block is a list? YES and list_indent is 2147483647 -- it position: 3
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f164a64
it on entry: [0x5ca51f164a64]
--- not HTML block? -- it position: 3 -- 0x5ca51f164a64
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a64 -- 0x5ca51f164a70
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 4 & 2 & 2
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/2-3)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - c", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 0 blanks, working column: 4, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? YES and list_indent is 2147483647 -- it position: 4
>> parse for list [99]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 5 & 3 & 3
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/2-3)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_DASH)
- Content: "b"
+ LIST_DASH (line/column: 3/3-4)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/5)
- Parent (LIST_DASH)
- Content: "c"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - d", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
working block is a list? no and list_indent is 2147483647 -- it position: 3
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 6 indent 2147483647 -- it position: 5
+++ gap so far 0 blanks, working column: 5, it column 6, list indent: 2147483647 -- it position: 5
working block is a list? YES and list_indent is 2147483647 -- it position: 5
>> parse for list [100]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 5
+++ not a list or blockquote? -- it position: 5
any containers (other than line)? -- it position: 5
--- not empty? -- it position: 5
--- not indented block? -- it position: 5
--- not fenced block? -- it position: 5 -- 0x5ca51f15f87c
it on entry: [0x5ca51f15f87c]
--- not HTML block? -- it position: 5 -- 0x5ca51f15f87c
--- not header? -- it position: 5
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 5
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 5 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f87c -- 0x5ca51f15f888
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 6 & 4 & 4
+++ link new? 0x5ca51f16b800
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 4)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/2-3)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_DASH)
- Content: "b"
+ LIST_DASH (line/column: 3/3-4)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/5)
- Parent (LIST_DASH)
- Content: "c"
+ LIST_DASH (line/column: 4/4-5)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/6)
- Parent (LIST_DASH)
- Content: "d"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - e", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 2147483647 -- it position: 3
column: 4 indent 2147483647 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? no and list_indent is 2147483647 -- it position: 4
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 7 indent 2147483647 -- it position: 6
+++ gap so far 0 blanks, working column: 6, it column 7, list indent: 2147483647 -- it position: 6
working block is a list? YES and list_indent is 2147483647 -- it position: 6
>> parse for list [101]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 6
+++ not a list or blockquote? -- it position: 6
any containers (other than line)? -- it position: 6
--- not empty? -- it position: 6
--- not indented block? -- it position: 6
--- not fenced block? -- it position: 6 -- 0x5ca51f15f888
it on entry: [0x5ca51f15f888]
--- not HTML block? -- it position: 6 -- 0x5ca51f15f888
--- not header? -- it position: 6
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 6
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 6 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f888 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ append paragraph continuation instead of list? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 4)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/2-3)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_DASH)
- Content: "b"
+ LIST_DASH (line/column: 3/3-4)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/5)
- Parent (LIST_DASH)
- Content: "c"
+ LIST_DASH (line/column: 4/4-5)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/6)
- Parent (LIST_DASH)
- Content: "d
- e"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 4)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/2-3)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/4)
- Parent (LIST_DASH)
- Content: "b"
+ LIST_DASH (line/column: 3/3-4)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 3/5)
- Parent (LIST_DASH)
- Content: "c"
+ LIST_DASH (line/column: 4/4-5)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/6)
- Parent (LIST_DASH)
- Content: "d
- e"
- * -------------------------------------------- TREE END ---
---- inline to parse: [a]
---- inline to parse: [b]
---- inline to parse: [c]
---- inline to parse: [d
- e]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="1. a", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 4 indent 1 -- it position: 3
+++ gap so far 0 blanks, working column: 3, it column 4 |
+---> resulting html: [<ul>
<li>a</li>
<li>b</li>
<li>c</li>
<li>d
- e</li>
</ul>
] matched!
markdown #313: [1.⎵ a↵ ↵ ⎵ ⎵ 2.⎵ b↵ ↵ ⎵ ⎵ ⎵ ⎵ 3.⎵ c↵ ]
, list indent: 1 -- it position: 3
working block is a list? YES and list_indent is 1 -- it position: 3
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15f3f4
it on entry: [0x5ca51f15f3f4]
--- not HTML block? -- it position: 3 -- 0x5ca51f15f3f4
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f3d0 -- 0x5ca51f15f3f4 -- 0x5ca51f15f400
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 4 & 1 & no parent
+++ link new? 0x5ca51f169a80
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=4, f_last_line=" 2. b", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 4 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 4 -- it position: 1
column: 2 indent 4 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 4 -- it position: 2
column: 3 indent 4 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 4 -- it position: 2
working block is a list? no and list_indent is 4 -- it position: 2
>> parse for list [50]...
>> numbered list...
>> list computed gap 3 vs first child 4
>> list type [46]...
+++ found a list...
column: 6 indent 4 -- it position: 5
+++ gap so far 0 blanks, working column: 5, it column 6, list indent: 4 -- it position: 5
working block is a list? YES and list_indent is 4 -- it position: 5
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 4 -- it position: 5
then compare 6 vs list_indent + 4 = 8 -- it position: 5
+++ this is a list item followed by this additional paragraph: 6 or 6 >= 4 blanks! (working column: 5 -- it position: 5)
+++ not a list or blockquote? -- it position: 5
any containers (other than line)? -- it position: 5
--- not empty? -- it position: 5
--- not indented block? -- it position: 5
--- not fenced block? -- it position: 5 -- 0x5ca51f15f87c
it on entry: [0x5ca51f15f87c]
--- not HTML block? -- it position: 5 -- 0x5ca51f15f87c
--- not header? -- it position: 5
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 5
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 5 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f87c -- 0x5ca51f15f888
link child
save working child
end paragraph handling
---- paragraph
+++ add sibling to list? (list sub-block: 4)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Last: LIST_PERIOD, Count: 2)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
+ LIST_PERIOD (line/column: 3/3-5)
- Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
+ PARAGRAPH (line/column: 3/6)
- Parent (LIST_PERIOD)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Last: LIST_PERIOD, Count: 2)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
+ LIST_PERIOD (line/column: 3/3-5)
- Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/6)
- Parent (LIST_PERIOD)
- Content: "b"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 3/6)
- Parent (LIST_PERIOD)
- Content: "b"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Last: LIST_PERIOD, Count: 2)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
+ LIST_PERIOD (line/column: 3/3-5)
- Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/6)
- Parent (LIST_PERIOD)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=6, f_last_line=" 3. c", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 6 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 6 -- it position: 1
column: 2 indent 6 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 6 -- it position: 2
column: 3 indent 6 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 6 -- it position: 3
column: 4 indent 6 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 6 -- it position: 4
column: 5 indent 6 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 6 -- it position: 4
working block is a list? no and list_indent is 6 -- it position: 4
>> parse for list [51]...
>> numbered list...
>> list computed gap 5 vs first child 6
but after calling parse_list() we have list_indent = 6 -- it position: 4
then compare 5 vs list_indent + 4 = 10 -- it position: 4
+++ got a gap of 4 >= 4 blanks! (list indent: 6 and sub-block is 0) BOTTOM
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
+++ adding a CODE BLOCK here (indent: 0)
---- got indent of 5 vs column 5
---- got indented code block
+++ working parent is list? no
last parent is list? LIST
columns (w/wp/lp): 5 & 1 & 5
+++ link new? 0x5ca51f166f40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Last: CODE_BLOCK_INDENTED, Count: 3)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
+ LIST_PERIOD (line/column: 3/3-5)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/6)
- Parent (LIST_PERIOD)
- Content: "b"
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Previous Sibling (LIST_PERIOD), Parent (DOCUMENT)
- Content: "3. c
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Last: CODE_BLOCK_INDENTED, Count: 3)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Next Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "a"
+ LIST_PERIOD (line/column: 3/3-5)
- Next Sibling (CODE_BLOCK_INDENTED), Previous Sibling (LIST_PERIOD), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Number: 2
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 3/6)
- Parent (LIST_PERIOD)
- Content: "b"
+ CODE_BLOCK_INDENTED (line/column: 5/5)
- Previous Sibling (LIST_PERIOD), Parent (DOCUMENT)
- Content: "3. c
"
- * -------------------------------------------- TREE END ---
---- inline to parse: [a]
---- inline to parse: [b]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- a", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
|
+---> resulting html: [<ol>
<li>
<p>a</p>
</li>
<li>
<p>b</p>
</li>
</ol>
<pre><code>3. c
</code></pre>
] matched!
markdown #314: [-⎵ a↵ -⎵ b↵ ↵ -⎵ c↵ ]
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f3e8
it on entry: [0x5ca51f15f3e8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f3e8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f3d0 -- 0x5ca51f15f3e8 -- 0x5ca51f15f3f4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f16a3d0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- b", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f3e8
it on entry: [0x5ca51f15f3e8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f3e8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f3d0 -- 0x5ca51f15f3e8 -- 0x5ca51f15f3f4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="- c", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 3 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 3 -- it position: 0
working block is a list? no and list_indent is 3 -- it position: 0
>> parse for list [45]...
>> list computed gap 1 vs first child 3
>> list type [45]...
+++ found a list...
column: 3 indent 3 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 3 -- it position: 2
working block is a list? YES and list_indent is 3 -- it position: 2
>> parse for list [99]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 2
then compare 3 vs list_indent + 4 = 7 -- it position: 2
+++ this is a list item followed by this additional paragraph: 3 or 3 >= 3 blanks! (working column: 2 -- it position: 2)
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f3e8
it on entry: [0x5ca51f15f3e8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f3e8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f3d0 -- 0x5ca51f15f3e8 -- 0x5ca51f15f3f4
link child
save working child
end paragraph handling
---- paragraph
+++ add sibling to list? (list sub-block: 3)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
+ LIST_DASH (line/column: 4/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/3)
- Parent (LIST_DASH)
- Content: "c"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
+ LIST_DASH (line/column: 4/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/3)
- Parent (LIST_DASH)
- Content: "c"
- * -------------------------------------------- TREE END ---
---- inline to parse: [a]
---- inline to parse: [b]
---- inline to parse: [c]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="* a", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [42]...
>> list type [42]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far |
+---> resulting html: [<ul>
<li>
<p>a</p>
</li>
<li>
<p>b</p>
</li>
<li>
<p>c</p>
</li>
</ul>
] matched!
markdown #315: [*⎵ a↵ *↵ ↵ *⎵ c↵ ]
0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f3e8
it on entry: [0x5ca51f15f3e8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f3e8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f3d0 -- 0x5ca51f15f3e8 -- 0x5ca51f15f3f4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f169a80
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_ASTERISK)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="*", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [42]...
>> list type [42]...
+++ found a list...
any containers (other than line)? -- it position: 1
found empty line (Last? not eos?!)
blockquotes?
--- not empty? -- it position: 1
--- not indented block? -- it position: 1
--- not fenced block? -- it position: 1 -- 0x5ca51f15f3dc
it on entry: [0x5ca51f15f3dc]
--- not HTML block? -- it position: 1 -- 0x5ca51f15f3dc
--- not header? -- it position: 1
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 1
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 1 == END REACHED!
setup character
create paragraph
add content -- 0x5ca51f15f3d0 -- 0x5ca51f15f3dc -- 0x5ca51f15f3dc
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 0 & 1 & 2
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Last: LIST_ASTERISK, Count: 2)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Next Sibling (LIST_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_ASTERISK)
- Content: "a"
+ LIST_ASTERISK (line/column: 2/1-2)
- Previous Sibling (LIST_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH
- Parent (LIST_ASTERISK)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Last: LIST_ASTERISK, Count: 2)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Next Sibling (LIST_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_ASTERISK)
- Content: "a"
+ LIST_ASTERISK (line/column: 2/1-2)
- Previous Sibling (LIST_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH
- Parent (LIST_ASTERISK)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH
- Parent (LIST_ASTERISK)
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Last: LIST_ASTERISK, Count: 2)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Next Sibling (LIST_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_ASTERISK)
- Content: "a"
+ LIST_ASTERISK (line/column: 2/1-2)
- Previous Sibling (LIST_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH
- Parent (LIST_ASTERISK)
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=0, f_last_line="* c", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 0 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 0 -- it position: 0
working block is a list? no and list_indent is 0 -- it position: 0
>> parse for list [42]...
>> list computed gap 1 vs first child 0
>> list type [42]...
+++ found a list...
column: 3 indent 0 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 0 -- it position: 2
working block is a list? YES and list_indent is 0 -- it position: 2
>> parse for list [99]...
>> not a list mark...
but after calling parse_list() we have list_indent = 0 -- it position: 2
then compare 3 vs list_indent + 4 = 4 -- it position: 2
+++ this is a list item followed by this additional paragraph: 3 or 3 >= 0 blanks! (working column: 2 -- it position: 2)
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f3e8
it on entry: [0x5ca51f15f3e8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f3e8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f3d0 -- 0x5ca51f15f3e8 -- 0x5ca51f15f3f4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Last: LIST_ASTERISK, Count: 3)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Next Sibling (LIST_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_ASTERISK)
- Content: "a"
+ LIST_ASTERISK (line/column: 2/1-2)
- Next Sibling (LIST_ASTERISK), Previous Sibling (LIST_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH
- Parent (LIST_ASTERISK)
+ LIST_ASTERISK (line/column: 4/1-2)
- Previous Sibling (LIST_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/3)
- Parent (LIST_ASTERISK)
- Content: "c"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Last: LIST_ASTERISK, Count: 3)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Next Sibling (LIST_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_ASTERISK)
- Content: "a"
+ LIST_ASTERISK (line/column: 2/1-2)
- Next Sibling (LIST_ASTERISK), Previous Sibling (LIST_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH
- Parent (LIST_ASTERISK)
+ LIST_ASTERISK (line/column: 4/1-2)
- Previous Sibling (LIST_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/3)
- Parent (LIST_ASTERISK)
- Content: "c"
- * -------------------------------------------- TREE END ---
---- inline to parse: [a]
---- inline to parse: []
---- inline to parse: [c]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- a", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
|
+---> resulting html: [<ul>
<li>
<p>a</p>
</li>
<li></li>
<li>
<p>c</p>
</li>
</ul>
] matched!
markdown #316: [-⎵ a↵ -⎵ b↵ ↵ ⎵ ⎵ c↵ -⎵ d↵ ]
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f164a58
it on entry: [0x5ca51f164a58]
--- not HTML block? -- it position: 2 -- 0x5ca51f164a58
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a58 -- 0x5ca51f164a64
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f166f40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- b", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f164a58
it on entry: [0x5ca51f164a58]
--- not HTML block? -- it position: 2 -- 0x5ca51f164a58
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a58 -- 0x5ca51f164a64
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line=" c", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 3 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 3 -- it position: 1
column: 2 indent 3 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
column: 3 indent 3 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
working block is a list? no and list_indent is 3 -- it position: 2
>> parse for list [99]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 2
then compare 3 vs list_indent + 4 = 7 -- it position: 2
+++ this is a list item followed by this additional paragraph: 3 or 3 >= 3 blanks! (working column: 1 -- it position: 2)
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f164a58
it on entry: [0x5ca51f164a58]
--- not HTML block? -- it position: 2 -- 0x5ca51f164a58
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a58 -- 0x5ca51f164a64
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 3)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "b"
+ PARAGRAPH (line/column: 4/3)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "c"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="- d", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 3 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 3 -- it position: 0
working block is a list? no and list_indent is 3 -- it position: 0
>> parse for list [45]...
>> list computed gap 1 vs first child 3
>> list type [45]...
+++ found a list...
column: 3 indent 3 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 3 -- it position: 2
working block is a list? YES and list_indent is 3 -- it position: 2
>> parse for list [100]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 2
then compare 3 vs list_indent + 4 = 7 -- it position: 2
+++ this is a list item followed by this additional paragraph: 3 or 3 >= 3 blanks! (working column: 2 -- it position: 2)
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f164a58
it on entry: [0x5ca51f164a58]
--- not HTML block? -- it position: 2 -- 0x5ca51f164a58
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a58 -- 0x5ca51f164a64
link child
save working child
end paragraph handling
---- paragraph
+++ add sibling to list? (list sub-block: 3)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "b"
+ PARAGRAPH (line/column: 4/3)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "c"
+ LIST_DASH (line/column: 5/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 5/3)
- Parent (LIST_DASH)
- Content: "d"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "b"
+ PARAGRAPH (line/column: 4/3)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "c"
+ LIST_DASH (line/column: 5/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 5/3)
- Parent (LIST_DASH)
- Content: "d"
- * -------------------------------------------- TREE END ---
---- inline to parse: [a]
---- inline to parse: [b]
---- inline to parse: [c]
---- inline to parse: [d]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- a", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 |
+---> resulting html: [<ul>
<li>
<p>a</p>
</li>
<li>
<p>b</p>
<p>c</p>
</li>
<li>
<p>d</p>
</li>
</ul>
] matched!
markdown #317: [-⎵ a↵ -⎵ b↵ ↵ ⎵ ⎵ [ref]:⎵ /url↵ -⎵ d↵ ]
-- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f3e8
it on entry: [0x5ca51f15f3e8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f3e8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f3d0 -- 0x5ca51f15f3e8 -- 0x5ca51f15f3f4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- b", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f3e8
it on entry: [0x5ca51f15f3e8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f3e8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f3d0 -- 0x5ca51f15f3e8 -- 0x5ca51f15f3f4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f169a80
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line=" [ref]: /url", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 3 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 3 -- it position: 1
column: 2 indent 3 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
column: 3 indent 3 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 3 -- it position: 2
working block is a list? no and list_indent is 3 -- it position: 2
>> parse for list [91]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 2
then compare 3 vs list_indent + 4 = 7 -- it position: 2
+++ this is a list item followed by this additional paragraph: 3 or 3 >= 3 blanks! (working column: 1 -- it position: 2)
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f168cd8
it on entry: [0x5ca51f168cd8]
--- not HTML block? -- it position: 2 -- 0x5ca51f168cd8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- parse link text...
---- check for colon: 58...
---- skip blanks...
---- parse link destination...
---- ref: destination {/url}...
---- ref: read no < bracket destination...
---- ref: got no < bracket destination [/url]...
---- add result as link reference [ref] [/url] []...
---- link reference
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=3, f_last_line="- d", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 3 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 3 -- it position: 0
working block is a list? no and list_indent is 3 -- it position: 0
>> parse for list [45]...
>> list computed gap 1 vs first child 3
>> list type [45]...
+++ found a list...
column: 3 indent 3 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 3 -- it position: 2
working block is a list? YES and list_indent is 3 -- it position: 2
>> parse for list [100]...
>> not a list mark...
but after calling parse_list() we have list_indent = 3 -- it position: 2
then compare 3 vs list_indent + 4 = 7 -- it position: 2
+++ this is a list item followed by this additional paragraph: 3 or 3 >= 3 blanks! (working column: 2 -- it position: 2)
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f168cd8
it on entry: [0x5ca51f168cd8]
--- not HTML block? -- it position: 2 -- 0x5ca51f168cd8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f168cc0 -- 0x5ca51f168cd8 -- 0x5ca51f168ce4
link child
save working child
end paragraph handling
---- paragraph
+++ add sibling to list? (list sub-block: 3)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
+ LIST_DASH (line/column: 5/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 5/3)
- Parent (LIST_DASH)
- Content: "d"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b"
+ LIST_DASH (line/column: 5/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 5/3)
- Parent (LIST_DASH)
- Content: "d"
- * -------------------------------------------- TREE END ---
---- inline to parse: [a]
---- inline to parse: [b]
---- inline to parse: [d]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- a", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 |
+---> resulting html: [<ul>
<li>
<p>a</p>
</li>
<li>
<p>b</p>
</li>
<li>
<p>d</p>
</li>
</ul>
] matched!
markdown #318: [-⎵ a↵ -⎵ ```↵ ⎵ ⎵ b↵ ↵ ↵ ⎵ ⎵ ```↵ -⎵ c↵ ]
-- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f164a58
it on entry: [0x5ca51f164a58]
--- not HTML block? -- it position: 2 -- 0x5ca51f164a58
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a58 -- 0x5ca51f164a64
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f166f40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- ```", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- adding info string [] -- indentation: 3
--- got next line [ b]
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" b", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
--- check indent: 3 vs 3
--- add: b
--- got next line []
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
--- what about an empty line?
--- check indent: 0 vs 3
--- add:
--- got next line []
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
--- what about an empty line?
--- check indent: 0 vs 3
--- add:
--- got next line [ ```]
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ```", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
--- check indent: 3 vs 3
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
+ CODE_BLOCK_GRAVE (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- c", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [99]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f864
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
+ CODE_BLOCK_GRAVE (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b
"
+ LIST_DASH (line/column: 7/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 7/3)
- Parent (LIST_DASH)
- Content: "c"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 3)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/1-2)
- Next Sibling (LIST_DASH), Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
+ CODE_BLOCK_GRAVE (line/column: 2/3)
- Parent (LIST_DASH)
- Content: "b
"
+ LIST_DASH (line/column: 7/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 7/3)
- Parent (LIST_DASH)
- Content: "c"
- * -------------------------------------------- TREE END ---
---- inline to parse: [a]
---- inline to parse: [c]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- a", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 1 -- it position: |
+---> resulting html: [<ul>
<li>a</li>
<li>
<pre><code>b
</code></pre>
</li>
<li>c</li>
</ul>
] matched!
markdown #319: [-⎵ a↵ ⎵ ⎵ -⎵ b↵ ↵ ⎵ ⎵ ⎵ ⎵ c↵ -⎵ d↵ ]
2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f164a58
it on entry: [0x5ca51f164a58]
--- not HTML block? -- it position: 2 -- 0x5ca51f164a58
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a58 -- 0x5ca51f164a64
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - b", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 0 blanks, working column: 4, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? YES and list_indent is 2147483647 -- it position: 4
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ link sub-list? working parent column: 3, last parent end-column: 2
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/5)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/5)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 2/5)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/5)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line=" c", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 5 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 5 -- it position: 1
column: 2 indent 5 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 5 -- it position: 2
column: 3 indent 5 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 5 -- it position: 3
column: 4 indent 5 -- it position: 3
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
column: 5 indent 5 -- it position: 4
+++ gap so far 4 blanks, working column: 1, it column 5, list indent: 5 -- it position: 4
working block is a list? no and list_indent is 5 -- it position: 4
>> parse for list [99]...
>> not a list mark...
but after calling parse_list() we have list_indent = 5 -- it position: 4
then compare 5 vs list_indent + 4 = 9 -- it position: 4
+++ this is a list item followed by this additional paragraph: 5 or 5 >= 5 blanks! (working column: 1 -- it position: 4)
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 5)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "b"
+ PARAGRAPH (line/column: 4/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "c"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line="- d", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 5 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 5 -- it position: 0
working block is a list? no and list_indent is 5 -- it position: 0
>> parse for list [45]...
>> list computed gap 1 vs first child 5
>> list type [45]...
+++ found a list...
column: 3 indent 5 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 5 -- it position: 2
working block is a list? YES and list_indent is 5 -- it position: 2
>> parse for list [100]...
>> not a list mark...
but after calling parse_list() we have list_indent = 5 -- it position: 2
then compare 3 vs list_indent + 4 = 9 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f864
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 4
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "b"
+ PARAGRAPH (line/column: 4/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "c"
+ LIST_DASH (line/column: 5/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 5/3)
- Parent (LIST_DASH)
- Content: "d"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/5)
- Next Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "b"
+ PARAGRAPH (line/column: 4/5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH)
- Content: "c"
+ LIST_DASH (line/column: 5/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 5/3)
- Parent (LIST_DASH)
- Content: "d"
- * -------------------------------------------- TREE END ---
---- inline to parse: [a]
---- inline to parse: [b]
---- inline to parse: [c]
---- inline to parse: [d]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="* a", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [42]...
>> list type [42 |
+---> resulting html: [<ul>
<li>a
<ul>
<li>
<p>b</p>
<p>c</p>
</li>
</ul>
</li>
<li>d</li>
</ul>
] matched!
markdown #320: [*⎵ a↵ ⎵ ⎵ >⎵ b↵ ⎵ ⎵ >↵ *⎵ c↵ ]
]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f3e8
it on entry: [0x5ca51f15f3e8]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f3e8
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f3d0 -- 0x5ca51f15f3e8 -- 0x5ca51f15f3f4
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f168490
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_ASTERISK)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" > b", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
+++ found a blockquote...
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 0 blanks, working column: 5, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? no and list_indent is 2147483647 -- it position: 4
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ append code block or blockquote to list? 5 -- 2
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (BLOCKQUOTE), Parent (LIST_ASTERISK)
- Content: "a"
+ BLOCKQUOTE (line/column: 2/3-5)
- Previous Sibling (PARAGRAPH), Parent (LIST_ASTERISK), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 2/5)
- Parent (BLOCKQUOTE)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" >", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
+++ found a blockquote...
any containers (other than line)? -- it position: 3
found empty line (Last? not eos?!)
blockquotes? WORKING LAST
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (BLOCKQUOTE), Parent (LIST_ASTERISK)
- Content: "a"
+ BLOCKQUOTE (line/column: 2/3-5)
- Previous Sibling (PARAGRAPH), Parent (LIST_ASTERISK), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 2/5)
- Parent (BLOCKQUOTE)
- Content: "b"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 2/5)
- Parent (BLOCKQUOTE)
- Content: "b"
- Block is followed by at least one empty line
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (BLOCKQUOTE), Parent (LIST_ASTERISK)
- Content: "a"
+ BLOCKQUOTE (line/column: 2/3-5)
- Previous Sibling (PARAGRAPH), Parent (LIST_ASTERISK), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 2/5)
- Parent (BLOCKQUOTE)
- Content: "b"
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="* c", list?=(not list), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [42]...
>> list type [42]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [99]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f864
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no
columns (w/wp/lp): 3 & 1 & 5
+++ link new? 0x5ca51f162eb0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Last: LIST_ASTERISK, Count: 2)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Next Sibling (LIST_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (BLOCKQUOTE), Parent (LIST_ASTERISK)
- Content: "a"
+ BLOCKQUOTE (line/column: 2/3-5)
- Previous Sibling (PARAGRAPH), Parent (LIST_ASTERISK), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 2/5)
- Parent (BLOCKQUOTE)
- Content: "b"
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 4/1-2)
- Previous Sibling (LIST_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/3)
- Parent (LIST_ASTERISK)
- Content: "c"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Last: LIST_ASTERISK, Count: 2)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Next Sibling (LIST_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (BLOCKQUOTE), Parent (LIST_ASTERISK)
- Content: "a"
+ BLOCKQUOTE (line/column: 2/3-5)
- Previous Sibling (PARAGRAPH), Parent (LIST_ASTERISK), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 2/5)
- Parent (BLOCKQUOTE)
- Content: "b"
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 4/1-2)
- Previous Sibling (LIST_ASTERISK), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 4/3)
- Parent (LIST_ASTERISK)
- Content: "c"
- * -------------------------------------------- TREE END ---
---- inline to parse: [a]
---- inline to parse: [b]
---- inline to parse: [c]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- a", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 |
+---> resulting html: [<ul>
<li>a
<blockquote>
<p>b</p>
</blockquote>
</li>
<li>c</li>
</ul>
] matched!
markdown #321: [-⎵ a↵ ⎵ ⎵ >⎵ b↵ ⎵ ⎵ ```↵ ⎵ ⎵ c↵ ⎵ ⎵ ```↵ -⎵ d↵ ]
indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f164a58
it on entry: [0x5ca51f164a58]
--- not HTML block? -- it position: 2 -- 0x5ca51f164a58
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a58 -- 0x5ca51f164a64
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f15fd40
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" > b", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
+++ found a blockquote...
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 0 blanks, working column: 5, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? no and list_indent is 2147483647 -- it position: 4
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ append code block or blockquote to list? 5 -- 2
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: BLOCKQUOTE, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (BLOCKQUOTE), Parent (LIST_DASH)
- Content: "a"
+ BLOCKQUOTE (line/column: 2/3-5)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 2/5)
- Parent (BLOCKQUOTE)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" ```", list?=(not list), f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- adding info string [] -- indentation: 3
--- got next line [ c]
--- check indent: 1 vs 3
--- add: c
--- got next line [ ```]
--- check indent: 1 vs 3
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ append code block or blockquote to list? 3 -- 5
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_GRAVE, Count: 3)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (BLOCKQUOTE), Parent (LIST_DASH)
- Content: "a"
+ BLOCKQUOTE (line/column: 2/3-5)
- Next Sibling (CODE_BLOCK_GRAVE), Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 2/5)
- Parent (BLOCKQUOTE)
- Content: "b"
+ CODE_BLOCK_GRAVE (line/column: 3/3)
- Previous Sibling (BLOCKQUOTE), Parent (LIST_DASH)
- Content: "c
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="- d", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 2147483647 -- it position: 0
working block is a list? no and list_indent is 2147483647 -- it position: 0
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? YES and list_indent is 2147483647 -- it position: 2
>> parse for list [100]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f864
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 2
+++ link new? 0x5ca51f168570
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_GRAVE, Count: 3)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (BLOCKQUOTE), Parent (LIST_DASH)
- Content: "a"
+ BLOCKQUOTE (line/column: 2/3-5)
- Next Sibling (CODE_BLOCK_GRAVE), Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 2/5)
- Parent (BLOCKQUOTE)
- Content: "b"
+ CODE_BLOCK_GRAVE (line/column: 3/3)
- Previous Sibling (BLOCKQUOTE), Parent (LIST_DASH)
- Content: "c
"
+ LIST_DASH (line/column: 6/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 6/3)
- Parent (LIST_DASH)
- Content: "d"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Last: LIST_DASH, Count: 2)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Next Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: CODE_BLOCK_GRAVE, Count: 3)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (BLOCKQUOTE), Parent (LIST_DASH)
- Content: "a"
+ BLOCKQUOTE (line/column: 2/3-5)
- Next Sibling (CODE_BLOCK_GRAVE), Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
- Number: 1
+ PARAGRAPH (line/column: 2/5)
- Parent (BLOCKQUOTE)
- Content: "b"
+ CODE_BLOCK_GRAVE (line/column: 3/3)
- Previous Sibling (BLOCKQUOTE), Parent (LIST_DASH)
- Content: "c
"
+ LIST_DASH (line/column: 6/1-2)
- Previous Sibling (LIST_DASH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 6/3)
- Parent (LIST_DASH)
- Content: "d"
- * -------------------------------------------- TREE END ---
---- inline to parse: [a]
---- inline to parse: [b]
---- inline to parse: [d]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- a", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [45]...
|
+---> resulting html: [<ul>
<li>a
<blockquote>
<p>b</p>
</blockquote>
<pre><code>c
</code></pre>
</li>
<li>d</li>
</ul>
] matched!
markdown #322: [-⎵ a↵ ]
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f164a58
it on entry: [0x5ca51f164a58]
--- not HTML block? -- it position: 2 -- 0x5ca51f164a58
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a58 -- 0x5ca51f164a64
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
- * -------------------------------------------- TREE END ---
---- inline to parse: [a]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="- a", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [45]...
>> list type [ |
+---> resulting html: [<ul>
<li>a</li>
</ul>
] matched!
markdown #323: [-⎵ a↵ ⎵ ⎵ -⎵ b↵ ]
45]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [97]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f164a58
it on entry: [0x5ca51f164a58]
--- not HTML block? -- it position: 2 -- 0x5ca51f164a58
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f164a40 -- 0x5ca51f164a58 -- 0x5ca51f164a64
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f162f90
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_DASH)
- Content: "a"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" - b", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [45]...
>> list type [45]...
+++ found a list...
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 0 blanks, working column: 4, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? YES and list_indent is 2147483647 -- it position: 4
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ link sub-list? working parent column: 3, last parent end-column: 2
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/5)
- Parent (LIST_DASH)
- Content: "b"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_DASH, Count: 1)
- Block is followed by at least one empty line
+ LIST_DASH (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_DASH, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_DASH), Parent (LIST_DASH)
- Content: "a"
+ LIST_DASH (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_DASH), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/5)
- Parent (LIST_DASH)
- Content: "b"
- * -------------------------------------------- TREE END ---
---- inline to parse: [a]
---- inline to parse: [b]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="1. ```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: |
+---> resulting html: [<ul>
<li>a
<ul>
<li>b</li>
</ul>
</li>
</ul>
] matched!
markdown #324: [1.⎵ ```↵ ⎵ ⎵ ⎵ foo↵ ⎵ ⎵ ⎵ ```↵ ↵ ⎵ ⎵ ⎵ bar↵ ]
1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [49]...
>> numbered list...
>> list type [46]...
+++ found a list...
column: 4 indent 1 -- it position: 3
+++ gap so far 0 blanks, working column: 3, it column 4, list indent: 1 -- it position: 3
working block is a list? YES and list_indent is 1 -- it position: 3
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- adding info string [] -- indentation: 4
--- got next line [ foo]
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
working block is a list? no and list_indent is 1 -- it position: 3
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
--- check indent: 4 vs 4
--- end count: 0
--- add: foo
--- got next line [ ```]
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line=" ```", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 1 -- it position: 1
column: 2 indent 1 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 1 -- it position: 2
column: 3 indent 1 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
column: 4 indent 1 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 1 -- it position: 3
working block is a list? no and list_indent is 1 -- it position: 3
>> parse for list [96]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 3
+++ not a list or blockquote? -- it position: 3
--- check indent: 4 vs 4
--- end count: 3
--- found end mark?!
--- done
---- got fenced code block
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 4 & 1 & no parent
+++ link new? 0x5ca51f161700
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Number: 1
+ CODE_BLOCK_GRAVE (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "foo
"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ CODE_BLOCK_GRAVE (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "foo
"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Count: 1)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/4)
- Parent (LIST_PERIOD)
- Content: "foo
"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=4, f_last_line=" bar", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 4 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 4 -- it position: 1
column: 2 indent 4 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 4 -- it position: 2
column: 3 indent 4 -- it position: 2
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 4 -- it position: 3
column: 4 indent 4 -- it position: 3
+++ gap so far 3 blanks, working column: 1, it column 4, list indent: 4 -- it position: 3
working block is a list? no and list_indent is 4 -- it position: 3
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 4 -- it position: 3
then compare 4 vs list_indent + 4 = 8 -- it position: 3
+++ this is a list item followed by this additional paragraph: 4 or 4 >= 4 blanks! (working column: 1 -- it position: 3)
+++ not a list or blockquote? -- it position: 3
any containers (other than line)? -- it position: 3
--- not empty? -- it position: 3
--- not indented block? -- it position: 3
--- not fenced block? -- it position: 3 -- 0x5ca51f15f864
it on entry: [0x5ca51f15f864]
--- not HTML block? -- it position: 3 -- 0x5ca51f15f864
--- not header? -- it position: 3
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 3
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 3 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f864 -- 0x5ca51f15f888
link child
save working child
end paragraph handling
---- paragraph
+++ add child to list? (list sub-block: 4)
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Last: PARAGRAPH, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/4)
- Next Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "foo
"
+ PARAGRAPH (line/column: 5/4)
- Previous Sibling (CODE_BLOCK_GRAVE), Parent (LIST_PERIOD)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=4, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_PERIOD, Count: 1)
- Block is followed by at least one empty line
+ LIST_PERIOD (line/column: 1/1-3)
- Parent (DOCUMENT), Has Children (First: CODE_BLOCK_GRAVE, Last: PARAGRAPH, Count: 2)
- Number: 1
- Block is followed by at least one empty line
+ CODE_BLOCK_GRAVE (line/column: 1/4)
- Next Sibling (PARAGRAPH), Parent (LIST_PERIOD)
- Content: "foo
"
+ PARAGRAPH (line/column: 5/4)
- Previous Sibling (CODE_BLOCK_GRAVE), Parent (LIST_PERIOD)
- Content: "bar"
- * -------------------------------------------- TREE END ---
---- inline to parse: [bar]
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Block is followed by at least one empty line
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=1, f_last_line="* foo", list?=(no parent), f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 1 -- it position: 0
+++ gap so far 0 blanks, working column: 1, it column 1, list indent: 1 -- it position: 0
working block is a list? no and list_indent is 1 -- it position: 0
>> parse for list [ |
+---> resulting html: [<ol>
<li>
<pre><code>foo
</code></pre>
<p>bar</p>
</li>
</ol>
] matched!
markdown #325: [*⎵ foo↵ ⎵ ⎵ *⎵ bar↵ ↵ ⎵ ⎵ baz↵ ]
42]...
>> list type [42]...
+++ found a list...
column: 3 indent 1 -- it position: 2
+++ gap so far 0 blanks, working column: 2, it column 3, list indent: 1 -- it position: 2
working block is a list? YES and list_indent is 1 -- it position: 2
>> parse for list [102]...
>> not a list mark...
but after calling parse_list() we have list_indent = 1 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? LIST
last parent is list? no parent
columns (w/wp/lp): 3 & 1 & no parent
+++ link new? 0x5ca51f168cd0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 1/3)
- Parent (LIST_ASTERISK)
- Content: "foo"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line=" * bar", list?=LIST, f_working_block->end_column()=1, has empty line? no)
column: 1 indent 2147483647 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 2147483647 -- it position: 1
column: 2 indent 2147483647 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
column: 3 indent 2147483647 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 2147483647 -- it position: 2
working block is a list? no and list_indent is 2147483647 -- it position: 2
>> parse for list [42]...
>> list type [42]...
+++ found a list...
column: 5 indent 2147483647 -- it position: 4
+++ gap so far 0 blanks, working column: 4, it column 5, list indent: 2147483647 -- it position: 4
working block is a list? YES and list_indent is 2147483647 -- it position: 4
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 2147483647 -- it position: 4
+++ not a list or blockquote? -- it position: 4
any containers (other than line)? -- it position: 4
--- not empty? -- it position: 4
--- not indented block? -- it position: 4
--- not fenced block? -- it position: 4 -- 0x5ca51f15f870
it on entry: [0x5ca51f15f870]
--- not HTML block? -- it position: 4 -- 0x5ca51f15f870
--- not header? -- it position: 4
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 4
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 4 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f870 -- 0x5ca51f15f894
link child
save working child
end paragraph handling
---- paragraph
+++ link sub-list? working parent column: 3, last parent end-column: 2
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_ASTERISK, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_ASTERISK), Parent (LIST_ASTERISK)
- Content: "foo"
+ LIST_ASTERISK (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_ASTERISK), Has Children (First: PARAGRAPH, Count: 1)
+ PARAGRAPH (line/column: 2/5)
- Parent (LIST_ASTERISK)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=LIST, f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? not eos?!)
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_ASTERISK, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_ASTERISK), Parent (LIST_ASTERISK)
- Content: "foo"
+ LIST_ASTERISK (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_ASTERISK), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/5)
- Parent (LIST_ASTERISK)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE AFTER EMPTY LINE END
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE:
+ PARAGRAPH (line/column: 2/5)
- Parent (LIST_ASTERISK)
- Content: "bar"
- * ---------------------------- LAST BLOCK TREE AFTER EMPTY LINE END ---
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Count: 1)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_ASTERISK, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_ASTERISK), Parent (LIST_ASTERISK)
- Content: "foo"
+ LIST_ASTERISK (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_ASTERISK), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/5)
- Parent (LIST_ASTERISK)
- Content: "bar"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=5, f_last_line=" baz", list?=LIST, f_working_block->end_column()=1, has empty line? YES)
column: 1 indent 5 -- it position: 0
+++ gap so far 1 blanks, working column: 1, it column 2, list indent: 5 -- it position: 1
column: 2 indent 5 -- it position: 1
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 5 -- it position: 2
column: 3 indent 5 -- it position: 2
+++ gap so far 2 blanks, working column: 1, it column 3, list indent: 5 -- it position: 2
working block is a list? no and list_indent is 5 -- it position: 2
>> parse for list [98]...
>> not a list mark...
but after calling parse_list() we have list_indent = 5 -- it position: 2
then compare 3 vs list_indent + 4 = 9 -- it position: 2
+++ not a list or blockquote? -- it position: 2
any containers (other than line)? -- it position: 2
--- not empty? -- it position: 2
--- not indented block? -- it position: 2
--- not fenced block? -- it position: 2 -- 0x5ca51f15f858
it on entry: [0x5ca51f15f858]
--- not HTML block? -- it position: 2 -- 0x5ca51f15f858
--- not header? -- it position: 2
process_thematic_break_or_setext_heading() called!
--- not thematic break? -- it position: 2
---- process_reference_definition()...
---- not reference (1)...
--- not reference? -- it position: 2 == it is not at the end, we're good, right?
setup character
create paragraph
add content -- 0x5ca51f15f840 -- 0x5ca51f15f858 -- 0x5ca51f15f87c
link child
save working child
end paragraph handling
---- paragraph
+++ working parent is list? no
last parent is list? LIST
columns (w/wp/lp): 3 & 1 & 4
+++ link new? 0x5ca51f1683b0
---------------- process containers...
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_ASTERISK, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_ASTERISK), Parent (LIST_ASTERISK)
- Content: "foo"
+ LIST_ASTERISK (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_ASTERISK), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/5)
- Parent (LIST_ASTERISK)
- Content: "bar"
+ PARAGRAPH (line/column: 4/3)
- Previous Sibling (LIST_ASTERISK), Parent (DOCUMENT)
- Content: "baz"
- * ---------------------------- DOCUMENT TREE BEFORE CHECKING CONTAINERS END
+++ checking for containers (list_indent=2147483647, f_last_line="", list?=(not list), f_working_block->end_column()=1, has empty line? no)
any containers (other than line)? -- it position: 0
found empty line (completely empty + Last? EOS)
- * -------------------------------------------- TREE:
+ DOCUMENT (line/column: 1/1)
- Has Children (First: LIST_ASTERISK, Last: PARAGRAPH, Count: 2)
- Block is followed by at least one empty line
+ LIST_ASTERISK (line/column: 1/1-2)
- Next Sibling (PARAGRAPH), Parent (DOCUMENT), Has Children (First: PARAGRAPH, Last: LIST_ASTERISK, Count: 2)
+ PARAGRAPH (line/column: 1/3)
- Next Sibling (LIST_ASTERISK), Parent (LIST_ASTERISK)
- Content: "foo"
+ LIST_ASTERISK (line/column: 2/3-4)
- Previous Sibling (PARAGRAPH), Parent (LIST_ASTERISK), Has Children (First: PARAGRAPH, Count: 1)
- Block is followed by at least one empty line
+ PARAGRAPH (line/column: 2/5)
- Parent (LIST_ASTERISK)
- Content: "bar"
+ PARAGRAPH (line/column: 4/3)
- Previous Sibling (LIST_ASTERISK), Parent (DOCUMENT)
- Content: "baz"
- * -------------------------------------------- TREE END ---
---- inline to parse: [foo]
---- inline to parse: [bar]
---- inline to parse: [baz]
-------------------------------------------------------------------------------
commonmark_test_suite
cm: run against commonmark test suite
-------------------------------------------------------------------------------
/home/alexis/snapwebsites/snapcpp/contrib/commonmarkcpp/tests/catch_commonmark.cpp:203
...............................................................................
/home/alexis/snapwebsites/snapcpp/contrib/commonmarkcpp/tests/catch_commonmark.cpp:299: FAILED:
CATCH_REQUIRE( result == html )
with expansion:
"<ul>
<li>foo
<ul>
<li>bar</li>
</ul>
</li>
</ul>
<p>baz</p>
"
==
"<ul>
<li>
<p>foo</p>
<ul>
<li>bar</li>
</ul>
<p>baz</p>
</li>
</ul>
"
SECTION: verify runtime vs compile time eventdispatcher version numbers
===============================================================================
test cases: 5 | 3 passed | 2 failed
assertions: 2235990 | 2235987 passed | 3 failed
Command exited with non-zero status 42
0.71user 0.10system 0:00.81elapsed 99%CPU (0avgtext+0avgdata 8756maxresident)k
0inputs+4432outputs (0major+675minor)pagefaults 0swaps
info: test logs were saved in: "../../BUILD/Debug/contrib/commonmarkcpp/tests/tests.log".
error: test(s) failed.
Build, Tests/Coverage, or Upload failed.
Back to list