aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/mod.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor to work on `char`sLibravatar Titus Wormer2022-07-281-2/+1
| | | | | | | | | | | | | | | 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.
* Add basic support for block quotesLibravatar Titus Wormer2022-07-071-0/+1
|
* Refactor code styleLibravatar Titus Wormer2022-07-051-0/+1
|
* Fix jumps in `edit_map`Libravatar Titus Wormer2022-06-281-0/+1
| | | | | | | | | * Use resolve more often (e.g., heading (atx, setext)) * Fix to link whole phrasing (e.g., one big chunk of text in heading (atx, setext), titles, labels) * Replace `ChunkText`, `ChunkString`, with `event.content_type: Option<ContentType>` * Refactor to externalize `edit_map` from `label`
* Add support for normalizing identifiersLibravatar Titus Wormer2022-06-221-0/+1
|
* Add docs for `subtokenize`Libravatar Titus Wormer2022-06-211-1/+0
|
* Add support for line endings in stringLibravatar Titus Wormer2022-06-201-0/+1
|
* Reorganize to split utilLibravatar Titus Wormer2022-06-141-0/+6