aboutsummaryrefslogtreecommitdiffstats
path: root/src/content (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor to improve performance by passing markers aroundLibravatar Titus Wormer2022-07-212-69/+31
|
* Refactor to move `index` field to `point`Libravatar Titus Wormer2022-07-211-9/+2
|
* Refactor to move some event fields to `link`Libravatar Titus Wormer2022-07-211-3/+1
|
* Refactor to improve cloning in `document`Libravatar Titus Wormer2022-07-201-53/+49
|
* Refactor to use less vecs for eventsLibravatar Titus Wormer2022-07-201-7/+8
|
* Refactor to remove cloning in `edit_map`Libravatar Titus Wormer2022-07-191-4/+4
|
* Remove an unneeded `HashMap`Libravatar Titus Wormer2022-07-191-2/+2
|
* Replace use of `HashSet` with `vec`Libravatar Titus Wormer2022-07-191-4/+7
|
* Refactor to improve performance when constructs are turned offLibravatar Titus Wormer2022-07-182-49/+73
|
* Add support for turning off constructsLibravatar Titus Wormer2022-07-182-0/+2
|
* Fix final bug with lazinessLibravatar Titus Wormer2022-07-181-8/+1
|
* Add docs and refactor listLibravatar Titus Wormer2022-07-151-45/+29
|
* Add docs and refactor document content typeLibravatar Titus Wormer2022-07-151-259/+268
|
* Add missing docs to tokenizerLibravatar Titus Wormer2022-07-151-6/+3
|
* Fix annoying bug around virtual spaces in containersLibravatar Titus Wormer2022-07-151-3/+2
|
* Fix interrupting sibling list itemsLibravatar Titus Wormer2022-07-141-5/+24
|
* Add support for container stateLibravatar Titus Wormer2022-07-141-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
* Fix a bunch of container thingsLibravatar Titus Wormer2022-07-141-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
* Fix lists in lists and some other bugsLibravatar Titus Wormer2022-07-131-4/+4
|
* Fix to close containers before several (blank) line endingsLibravatar Titus Wormer2022-07-131-7/+17
|
* Fix some issues around empty listsLibravatar Titus Wormer2022-07-121-0/+3
|
* Fix a lot of list thingsLibravatar Titus Wormer2022-07-121-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
* Add initial support for listsLibravatar Titus Wormer2022-07-121-10/+21
|
* Add support for lazy linesLibravatar Titus Wormer2022-07-111-154/+53
|
* Fix block quote bugsLibravatar Titus Wormer2022-07-111-2/+6
|
* Fix bug around forcibly closed flow exitsLibravatar Titus Wormer2022-07-081-0/+15
|
* Fix interrupting when exiting containersLibravatar Titus Wormer2022-07-081-0/+3
|
* Fix container bug due to attemptsLibravatar Titus Wormer2022-07-081-14/+36
|
* Add improved container enter/exit mechanismLibravatar Titus Wormer2022-07-081-66/+122
|
* Fix closing of flow when exiting containersLibravatar Titus Wormer2022-07-081-13/+32
|
* Add support for concrete constructsLibravatar Titus Wormer2022-07-081-7/+8
|
* Refactor to move token types to `token`Libravatar Titus Wormer2022-07-072-12/+10
|
* Add basic support for block quotesLibravatar Titus Wormer2022-07-073-47/+447
|
* Refactor code styleLibravatar Titus Wormer2022-07-053-7/+6
|
* Add support for unicode punctuationLibravatar Titus Wormer2022-07-041-1/+1
|
* Update list of todosLibravatar Titus Wormer2022-07-041-1/+1
|
* Add support for attention (emphasis, strong)Libravatar Titus Wormer2022-07-041-7/+11
|
* Make paragraphs really fastLibravatar Titus Wormer2022-07-011-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.
* Add support for trimming whitespace around string, textLibravatar Titus Wormer2022-06-302-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
* Refactor some docs, fix some grammarLibravatar Titus Wormer2022-06-301-2/+3
|
* Add support for sharing identifiers, references before definitionsLibravatar Titus Wormer2022-06-291-5/+7
|
* Add link, images (resource)Libravatar Titus Wormer2022-06-242-11/+26
| | | | | | | | | | | | This is still some messy code that needs cleaning up, but it adds support for links and images, of the resource kind (`[a](b)`). References (`[a][b]`) are parsed and will soon be supported, but need matching. * Fix bug to pad percent-encoded bytes when normalizing urls * Fix bug with escapes counting as balancing in destination * Add `space_or_tab_one_line_ending`, to parse whitespace including up to one line ending (but not a blank line) * Add `ParserState` to share codes, definitions, etc
* Add support for normalizing identifiersLibravatar Titus Wormer2022-06-221-1/+24
|
* Refactor to improve tokenizer, add docsLibravatar Titus Wormer2022-06-223-19/+24
|
* Make data a constructLibravatar Titus Wormer2022-06-212-82/+21
|
* Refactor to improve a bunch of statesLibravatar Titus Wormer2022-06-211-8/+0
| | | | | | * Improve passing stuff around * Add traits to enums for markers and such * Fix “life time” stuff I didn’t understand
* Add some more enabled testsLibravatar Titus Wormer2022-06-202-3/+0
|
* Add support for line endings in stringLibravatar Titus Wormer2022-06-201-9/+23
|
* Add improved whitespace handlingLibravatar Titus Wormer2022-06-201-34/+11
| | | | | | * add several helpers for parsing betwen x and y `space_or_tab`s * use those helpers in a bunch of places * move initial indent parsing to flow constructs themselves
* Add paragraphLibravatar Titus Wormer2022-06-201-130/+9
|