Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move `log` to optional dependencies | pinkforest(she/her) | 2023-02-10 | 1 | -0/+2 |
| | | | Closes GH-48. | ||||
* | Replace build script with private crate | Titus Wormer | 2022-12-13 | 1 | -1/+1 |
| | | | | | Closes GH-34. Closes GH-35. | ||||
* | Add some tests for `Location` | Titus Wormer | 2022-12-13 | 1 | -0/+15 |
| | |||||
* | Remove unneeded `extern crate`s | Hocdoc | 2022-11-10 | 2 | -6/+0 |
| | | | | | Closes GH-28. Co-authored-by: Bernhard Berger <bernhardberger3456@gmail.com> | ||||
* | Refactor code-style for Rust 1.65 | Hocdoc | 2022-11-10 | 1 | -2/+2 |
| | | | | | | Closes GH-29. Reviewed-by: Titus Wormer <tituswormer@gmail.com> Co-authored-by: Bernhard Berger <bernhardberger3456@gmail.com> | ||||
* | Fix dead links in docs | Titus Wormer | 2022-10-25 | 1 | -2/+4 |
| | |||||
* | Regenerate unicode punctuation | Christian Murphy | 2022-10-25 | 1 | -1/+24 |
| | | | | | Closes GH-15. Reviewed-by: Titus Wormer <tituswormer@gmail.com> | ||||
* | Remove `must_use` if tarpaulin doesn’t understand them | Titus Wormer | 2022-10-14 | 3 | -0/+262 |
| | | | | | Also moves some code to separate files, in the hopes that tarpaulin understands them. | ||||
* | Refactor slice algorithms some more | Titus Wormer | 2022-10-14 | 1 | -24/+13 |
| | |||||
* | Attempt to fix broken tarpaulin | Titus Wormer | 2022-10-14 | 1 | -0/+2 |
| | |||||
* | Refactor some code to improve coverage | Titus Wormer | 2022-10-14 | 1 | -14/+10 |
| | |||||
* | Remove some unused code around slices | Titus Wormer | 2022-10-14 | 1 | -56/+8 |
| | |||||
* | Fix positional info of cr+lf in mdx | Titus Wormer | 2022-10-14 | 1 | -0/+88 |
| | |||||
* | Refactor some code to improve coverage | Titus Wormer | 2022-10-13 | 1 | -2/+2 |
| | |||||
* | Add some unit tests for internal character functions | Titus Wormer | 2022-10-13 | 1 | -15/+102 |
| | |||||
* | Rename crate to `markdown` | Titus Wormer | 2022-10-13 | 6 | -10/+10 |
| | |||||
* | Refactor to use a bunch of `into` | Titus Wormer | 2022-10-11 | 3 | -17/+10 |
| | |||||
* | Refactor some hidden internals | Titus Wormer | 2022-10-11 | 2 | -2/+4 |
| | |||||
* | Add some missing internal docs | Titus Wormer | 2022-10-11 | 2 | -14/+25 |
| | |||||
* | Add support for proper positional info in swc tree | Titus Wormer | 2022-10-11 | 3 | -49/+144 |
| | | | | | | | | | | * Fix some positional info in SWC error messages * Add positional info in `to_document` on duplicate layouts * Add support for `path` on `Program` (`to_swc`, `to_document`, `jsx_rewrite`), for the path of a file on disk * Add support for `development` to `jsx-rewrite`, which when defined will embed info on where tags were written into the runtime code when they are not passed * Refactor to move some utilities to `micromark_swc_utils.rs`, `swc_utils.rs` | ||||
* | Refactor to share identifier methods | Titus Wormer | 2022-10-06 | 2 | -0/+16 |
| | |||||
* | Add support for HTML 4 character references in JSX attributes | Titus Wormer | 2022-10-06 | 4 | -94/+475 |
| | |||||
* | Add support for turning mdast to hast | Titus Wormer | 2022-09-28 | 1 | -0/+1 |
| | |||||
* | Add support for compiling to mdast | Titus Wormer | 2022-09-26 | 3 | -2/+195 |
| | | | | See: <https://github.com/syntax-tree/mdast>. | ||||
* | Add support for parsing MDX ESM, expressions | Titus Wormer | 2022-09-19 | 2 | -0/+71 |
| | | | | | | | | | | | | | | | | This commit adds support for hooks that lets a user integrate another parser with `micromark-rs`, to parse ESM and expressions according to a particular grammar (such as a programming language, typically JavaScript). For an example integrating with SWC, see `tests/test_utils/mod.rs`. The integration occurs with two functions passed in `options`: `mdx_expression_parse` and `mdx_esm_parse`. The can signal back to micromark when they are successful, whether there is an error at the end (in which case micromark will try to parse more), or whether there is a syntax error (in which case micromark will crash). | ||||
* | Refactor to move byte, char info to own file | Titus Wormer | 2022-09-09 | 4 | -119/+167 |
| | |||||
* | Add initial states for MDX JSX (text) | Titus Wormer | 2022-09-06 | 1 | -1/+24 |
| | |||||
* | Fix some todos | Titus Wormer | 2022-09-05 | 1 | -0/+7 |
| | |||||
* | Add support for getting `char`s from bytes | Titus Wormer | 2022-09-05 | 1 | -0/+22 |
| | |||||
* | Add support for GFM tagfilter | Titus Wormer | 2022-09-01 | 4 | -29/+154 |
| | |||||
* | Add support for math (flow) | Titus Wormer | 2022-08-26 | 1 | -4/+4 |
| | |||||
* | Add support for GFM task list item | Titus Wormer | 2022-08-22 | 1 | -2/+10 |
| | |||||
* | Refactor to move more things to `util/` | Titus Wormer | 2022-08-19 | 6 | -3/+3292 |
| | |||||
* | Add support for GFM autolink literals | Titus Wormer | 2022-08-18 | 2 | -0/+73 |
| | |||||
* | Add `no_std + alloc` | Titus Wormer | 2022-08-16 | 6 | -1/+13 |
| | |||||
* | Refactor to proof docs, grammars | Titus Wormer | 2022-08-15 | 8 | -33/+39 |
| | |||||
* | Refactor to improve docs of each function | Titus Wormer | 2022-08-12 | 3 | -20/+18 |
| | |||||
* | Refactor to move some code to `event.rs` | Titus Wormer | 2022-08-11 | 3 | -35/+25 |
| | |||||
* | Add missing docs, refactor some code | Titus Wormer | 2022-08-01 | 1 | -13/+26 |
| | |||||
* | Refactor to pass more `&str`s, work on more bytes | Titus Wormer | 2022-08-01 | 1 | -0/+5 |
| | |||||
* | Refactor to improve states | Titus Wormer | 2022-07-29 | 5 | -76/+91 |
| | | | | | | | | | | | | * 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 bytes (`u8`) | Titus Wormer | 2022-07-29 | 1 | -26/+18 |
| | |||||
* | Refactor to use `debug_assert` | Titus Wormer | 2022-07-28 | 1 | -1/+1 |
| | |||||
* | Refactor to work on `char`s | Titus Wormer | 2022-07-28 | 6 | -188/+167 |
| | | | | | | | | | | | | | | | 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 use a single shared edit map | Titus Wormer | 2022-07-22 | 1 | -9/+6 |
| | |||||
* | Refactor to remove unneeded tuples in every states | Titus Wormer | 2022-07-22 | 2 | -2/+2 |
| | |||||
* | Refactor performance around links in subtokenize | Titus Wormer | 2022-07-21 | 1 | -28/+35 |
| | |||||
* | Refactor to move `index` field to `point` | Titus Wormer | 2022-07-21 | 1 | -2/+2 |
| | |||||
* | Refactor to move some event fields to `link` | Titus Wormer | 2022-07-21 | 1 | -3/+5 |
| | |||||
* | Refactor to improve allocation around strings | Titus Wormer | 2022-07-20 | 4 | -82/+65 |
| |