aboutsummaryrefslogtreecommitdiffstats
path: root/src/constant.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add `no_std + alloc`Libravatar Titus Wormer2022-08-161-0/+1
|
* Add support for frontmatterLibravatar Titus Wormer2022-08-161-0/+7
|
* Refactor to proof docs, grammarsLibravatar Titus Wormer2022-08-151-2/+1
|
* Refactor to rename list construct to list itemLibravatar Titus Wormer2022-08-151-2/+3
|
* Refactor to improve statesLibravatar Titus Wormer2022-07-291-0/+9
| | | | | | | | | | | | * Remove custom kind wrappers, use plain bytes instead * Remove `Into`s, use the explicit expected types instead * Refactor to use `slice.as_str` in most places * Remove unneeded unique check before adding a definition * Use a shared CDATA prefix in constants * Inline byte checks into matches * Pass bytes back from parser instead of whole parse state * Refactor to work more often on bytes * Rename custom `size` to `len`
* Refactor to work on `char`sLibravatar Titus Wormer2022-07-281-4/+0
| | | | | | | | | | | | | | | Previously, a custom char implementation was used. This was easier to work with, as sometimes “virtual” characters are injected, or characters are ignored. This replaces that with working on actual `char`s. In the hope of in the future working on `u8`s, even. This simplifies the state machine somewhat, as only `\n` is fed, regardless of whether it was a CRLF, CR, or LF. It also feeds `' '` instead of virtual spaces. The BOM, if present, is now available as a `ByteOrderMark` event.
* Refactor to drastically improve perf around whitespaceLibravatar Titus Wormer2022-07-261-2/+2
|
* Fix to use single array for character referencesLibravatar Titus Wormer2022-07-151-2264/+2132
|
* Refactor to sort, document lists in tokenLibravatar Titus Wormer2022-07-151-1/+0
|
* Add docs on `LIST_ITEM_VALUE_SIZE_MAX`Libravatar Titus Wormer2022-07-151-3/+13
|
* Add initial support for listsLibravatar Titus Wormer2022-07-121-0/+4
|
* Add docs for `RESOURCE_DESTINATION_BALANCE_MAX`Libravatar Titus Wormer2022-06-281-3/+8
|
* Add link, images (resource)Libravatar Titus Wormer2022-06-241-2/+5
| | | | | | | | | | | | 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
* Fix some nonexistent named character referencesLibravatar Titus Wormer2022-06-221-216/+114
|
* Add docs on virtual spaceLibravatar Titus Wormer2022-06-211-2/+3
|
* Refactor to move protocols to constantsLibravatar Titus Wormer2022-06-211-0/+12
|
* Refactor to reorganize constantsLibravatar Titus Wormer2022-06-211-68/+70
|
* Remove unneeded `content` content typeLibravatar Titus Wormer2022-06-201-2/+3
|
* Add support for definitionsLibravatar Titus Wormer2022-06-171-0/+3
| | | | | | * Add definitions * Add partials for label, destination, title * Add `go`, to attempt something, and do something else on `ok`
* Add support for hard break (trailing)Libravatar Titus Wormer2022-06-161-0/+6
|
* Add tests for constantsLibravatar Titus Wormer2022-06-151-0/+46
|
* Add autolinksLibravatar Titus Wormer2022-06-131-0/+17
|
* .Libravatar Titus Wormer2022-06-081-0/+2561