Tom Alexander
37070689c6
Continued work on item parser.
...
Still needs to:
1. Do context things
2. Fix the double-space after the tag separator issue
3. Add support for indentation
4. Write item_end
5. Write plain_list
2022-12-18 07:52:02 -05:00
Tom Alexander
5e7c891681
Start of list item implementation.
2022-12-18 07:52:02 -05:00
Tom Alexander
b4e28f3d4d
Implement a parser for a bullet in a list item.
2022-12-18 07:52:02 -05:00
Tom Alexander
76b2325486
Start the plain list module.
2022-12-18 07:52:01 -05:00
Tom Alexander
89758721ed
Rename contents to source to match objects that need to store a separate source.
2022-12-18 04:42:13 -05:00
Tom Alexander
448dcfac72
Create an also_recognize combinator to make providing source slices fast and safe.
2022-12-18 04:36:12 -05:00
Tom Alexander
f7de564deb
Add a source trait to ensure we can re-create the source document using the parsed objects.
2022-12-18 04:36:12 -05:00
Tom Alexander
2def475337
Move the structs into the token module.
2022-12-18 03:24:35 -05:00
Tom Alexander
1da38c8f7d
Use context_many1 for paragraphs in a document.
2022-12-16 01:35:49 -05:00
Tom Alexander
b20568c09e
Clone issue.
2022-12-04 00:04:38 -05:00