aboutsummaryrefslogtreecommitdiffstats
path: root/src/content (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Remove unneeded `content` content typeLibravatar Titus Wormer2022-06-204-99/+30
|
* Add support for definitionsLibravatar Titus Wormer2022-06-173-53/+22
| | | | | | * Add definitions * Add partials for label, destination, title * Add `go`, to attempt something, and do something else on `ok`
* Add heading (setext)Libravatar Titus Wormer2022-06-162-14/+27
|
* Refactor to reorder thing alphabeticallyLibravatar Titus Wormer2022-06-162-1/+1
|
* Add support for hard break (trailing)Libravatar Titus Wormer2022-06-161-6/+9
|
* Add support for hard break escapeLibravatar Titus Wormer2022-06-161-3/+4
|
* Add code (text)Libravatar Titus Wormer2022-06-151-4/+6
|
* Fix support for deep subtokenizationLibravatar Titus Wormer2022-06-141-7/+14
| | | | | | * Fix a couple of forgotten line ending handling in html (text) * Fix missing initial case for html (text) not having a `<` 😬 * Add line ending handling to `text` construct
* Reorganize to split utilLibravatar Titus Wormer2022-06-141-2/+2
|
* Add docs for html (text)Libravatar Titus Wormer2022-06-141-1/+1
|
* Add basic html (text)Libravatar Titus Wormer2022-06-132-9/+22
| | | | | | | * Add all states for html (text) * Fix to link paragraph tokens together * Add note about uncovered bug where linking paragraph tokens together doesn’t work 😅
* Add autolinksLibravatar Titus Wormer2022-06-131-4/+5
|
* Add text content typeLibravatar Titus Wormer2022-06-104-13/+92
| | | | | * Add character reference and character escapes in text * Add recursive subtokenization
* Add proper support for subtokenizationLibravatar Titus Wormer2022-06-104-55/+118
| | | | | | | - Add “content” content type - Add paragraph - Add skips - Add linked tokens
* Add basic subtokenization, string content in fenced codeLibravatar Titus Wormer2022-06-092-33/+10
|
* Refactor to pass more slices aroundLibravatar Titus Wormer2022-06-092-2/+2
|
* Add support for indented lines in paragraphsLibravatar Titus Wormer2022-06-091-23/+20
|
* Add basic support for interrupting contentLibravatar Titus Wormer2022-06-091-69/+95
|
* .Libravatar Titus Wormer2022-06-083-0/+382