aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-07-28Refactor to work on `char`sLibravatar Titus Wormer1-8/+7
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.
2022-07-19Remove unneeded `rust` language flagsLibravatar Titus Wormer1-6/+6
2022-07-18Change to improve `default_line_ending` apiLibravatar Titus Wormer1-4/+4
2022-07-18Add support for turning off constructsLibravatar Titus Wormer1-9/+223
2022-07-18Refactor to move options to `lib/`Libravatar Titus Wormer1-1/+159
2022-07-07Refactor to move token types to `token`Libravatar Titus Wormer1-0/+1
2022-07-05Refactor to do some to dosLibravatar Titus Wormer1-2/+2
2022-07-04Add support for unicode punctuationLibravatar Titus Wormer1-0/+1
2022-06-21Add support for inferring line ending, configurableLibravatar Titus Wormer1-5/+6
* Rename `CompileOptions` to `Options` * Add support for an optional default line ending style * Add support for inferring the used line ending style
2022-06-13Add support for sanitizing urlsLibravatar Titus Wormer1-0/+1
* Add support for properly encoding characters in urls * Add support for sanitizing potentially dangerous urls * Add safe defaults, optionally live dangerously
2022-06-09Add basic subtokenization, string content in fenced codeLibravatar Titus Wormer1-0/+1