aboutsummaryrefslogtreecommitdiffstats
path: root/src/content (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-07-26Refactor to drastically improve perf around whitespaceLibravatar Titus Wormer3-51/+53
2022-07-26Refactor to simplify tokenizerLibravatar Titus Wormer1-3/+3
2022-07-25Refactor to not pass codes aroundLibravatar Titus Wormer4-65/+51
2022-07-25Remove no longer needed field in `State::Ok`Libravatar Titus Wormer4-10/+8
2022-07-25Refactor to remove need for cloning codesLibravatar Titus Wormer1-1/+1
2022-07-25Improve performance w/ a single feed loopLibravatar Titus Wormer1-1/+1
2022-07-22Refactor to use a single shared edit mapLibravatar Titus Wormer1-5/+3
2022-07-22Refactor to remove unneeded tuples in every statesLibravatar Titus Wormer4-60/+37
2022-07-22Refactor to pass ints instead of vecs aroundLibravatar Titus Wormer4-12/+12
2022-07-21Refactor to improve performance by passing markers aroundLibravatar Titus Wormer2-69/+31
2022-07-21Refactor to move `index` field to `point`Libravatar Titus Wormer1-9/+2
2022-07-21Refactor to move some event fields to `link`Libravatar Titus Wormer1-3/+1
2022-07-20Refactor to improve cloning in `document`Libravatar Titus Wormer1-53/+49
2022-07-20Refactor to use less vecs for eventsLibravatar Titus Wormer1-7/+8
2022-07-19Refactor to remove cloning in `edit_map`Libravatar Titus Wormer1-4/+4
2022-07-19Remove an unneeded `HashMap`Libravatar Titus Wormer1-2/+2
2022-07-19Replace use of `HashSet` with `vec`Libravatar Titus Wormer1-4/+7
2022-07-18Refactor to improve performance when constructs are turned offLibravatar Titus Wormer2-49/+73
2022-07-18Add support for turning off constructsLibravatar Titus Wormer2-0/+2
2022-07-18Fix final bug with lazinessLibravatar Titus Wormer1-8/+1
2022-07-15Add docs and refactor listLibravatar Titus Wormer1-45/+29
2022-07-15Add docs and refactor document content typeLibravatar Titus Wormer1-259/+268
2022-07-15Add missing docs to tokenizerLibravatar Titus Wormer1-6/+3
2022-07-15Fix annoying bug around virtual spaces in containersLibravatar Titus Wormer1-3/+2
2022-07-14Fix interrupting sibling list itemsLibravatar Titus Wormer1-5/+24
2022-07-14Add support for container stateLibravatar Titus Wormer1-9/+30
* Fix to parse list item continuation based on how big the initial list item prefix was * Fix list items that start with blank lines
2022-07-14Fix a bunch of container thingsLibravatar Titus Wormer1-154/+178
* Fix a lot of container code * Fix to prevent code (indented) from interrupting a lazy container * Fix compiling when combining tight paragraphs, empty list items, and html * Fix list items starting w/ blank lines causing loose lists * Fix crash when looking for a previous blank line
2022-07-13Fix lists in lists and some other bugsLibravatar Titus Wormer1-4/+4
2022-07-13Fix to close containers before several (blank) line endingsLibravatar Titus Wormer1-7/+17
2022-07-12Fix some issues around empty listsLibravatar Titus Wormer1-0/+3
2022-07-12Fix a lot of list thingsLibravatar Titus Wormer1-5/+18
* Add `ListItem`, `ListOrdered`, and `ListUnordered` tokens * Add support for multiline list items * Add support for tight lists * Fix bug where 10 digit long list item values worked * Fix skip bug when skipping over nested events
2022-07-12Add initial support for listsLibravatar Titus Wormer1-10/+21
2022-07-11Add support for lazy linesLibravatar Titus Wormer1-154/+53
2022-07-11Fix block quote bugsLibravatar Titus Wormer1-2/+6
2022-07-08Fix bug around forcibly closed flow exitsLibravatar Titus Wormer1-0/+15
2022-07-08Fix interrupting when exiting containersLibravatar Titus Wormer1-0/+3
2022-07-08Fix container bug due to attemptsLibravatar Titus Wormer1-14/+36
2022-07-08Add improved container enter/exit mechanismLibravatar Titus Wormer1-66/+122
2022-07-08Fix closing of flow when exiting containersLibravatar Titus Wormer1-13/+32
2022-07-08Add support for concrete constructsLibravatar Titus Wormer1-7/+8
2022-07-07Refactor to move token types to `token`Libravatar Titus Wormer2-12/+10
2022-07-07Add basic support for block quotesLibravatar Titus Wormer3-47/+447
2022-07-05Refactor code styleLibravatar Titus Wormer3-7/+6
2022-07-04Add support for unicode punctuationLibravatar Titus Wormer1-1/+1
2022-07-04Update list of todosLibravatar Titus Wormer1-1/+1
2022-07-04Add support for attention (emphasis, strong)Libravatar Titus Wormer1-7/+11
2022-07-01Make paragraphs really fastLibravatar Titus Wormer1-22/+24
The approach that `micromark-js` takes is as follows: to parse a paragraph, check whether each line starts with something else. If it does, exit, otherwise continue. That is slow, because our actual flow parser does similar things: the work was being done twice. To fix this, this commit introduces parsing each line of a paragraph separately. And finally, when done with flow, combining adjacent paragraphs. This same mechanism is reused for setext headings. Additionally, this commit adds support for interrupting things (or not). E.g., HTML (flow, complete) cannot interrupt paragraphs. Definitions cannot interrupt paragraphs, and connect be interrupted either, but they can follow each other.
2022-06-30Add support for trimming whitespace around string, textLibravatar Titus Wormer2-14/+25
This commit introduces trimming initial and final whitespace around the whole string or text, or around line endings inside that string or text. * Add `register_resolver_before`, to run resolvers earlier than others, used for labels * Add resolver to merge `data` events, which are the most frequent token that occurs, and can happen adjacently. In `micromark-js` this sped up parsing a lot * Fix a bug where a virtual space was not seen as an okay event * Refactor to enable all turned off whitespace tests
2022-06-30Refactor some docs, fix some grammarLibravatar Titus Wormer1-2/+3
2022-06-29Add support for sharing identifiers, references before definitionsLibravatar Titus Wormer1-5/+7