Tom Alexander
728a79f9a4
Handle zero-width space in text markup.
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded
rustfmt Build rustfmt has succeeded
2023-09-06 13:56:27 -04:00
Tom Alexander
df79cbd0b7
Give global options their own lifetime.
2023-09-03 16:22:40 -04:00
Tom Alexander
15e8d1ab77
Implement check_exit_matcher.
2023-09-03 00:05:47 -04:00
Tom Alexander
8502a8830d
Fixing some errors.
2023-09-02 23:16:02 -04:00
Tom Alexander
74a6101de7
Update RefContext to three lifetimes.
2023-09-02 22:45:46 -04:00
Tom Alexander
564104f1e8
Switch to RefContext.
2023-09-02 19:16:44 -04:00
Tom Alexander
eabffe5ecc
Move over the rest of the types.
2023-09-02 19:08:01 -04:00
Tom Alexander
b5f0521b56
Only consume trailing whitespace when not exiting for all objects.
2023-08-31 15:45:31 -04:00
Tom Alexander
eb9c582fa5
'>' is allowed as a post character in text markup.
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded
2023-08-29 23:57:15 -04:00
Tom Alexander
02fe10fba3
Move objects to a lower exit class.
...
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded
Paragraph's exit matcher which detects elements was causing the plain list parser to exit after the first item was parsed which was causing significant amounts of re-parsing.
2023-08-24 23:34:23 -04:00
fluxcdbot
ad3f47864a
CI: autofix rust code.
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded
rust-build Build rust-build has failed
2023-08-24 23:43:41 +00:00
Tom Alexander
cf37bc4111
Remove unnecessary context from some util functions.
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded
2023-08-24 19:29:00 -04:00
Tom Alexander
720afa5d32
Update getting the previous character and previous line.
...
This can be done a lot more efficiently now that we are keeping track of this information in the wrapped input type instead of having to fetch to the original document out of the context tree.
2023-08-24 16:56:07 -04:00
Tom Alexander
dab598e5e7
Convert all functions to using the wrapped input type.
rust-test Build rust-test has failed
rust-build Build rust-build has failed
2023-08-24 16:06:29 -04:00
Tom Alexander
cd1b4ba785
Make the tracing macros optional.
2023-08-10 20:22:34 -04:00
fluxcdbot
bab9232ebc
CI: autofix rust code.
semver Build semver has succeeded
rust-test Build rust-test has succeeded
rustfmt Build rustfmt has succeeded
2023-07-18 17:51:28 +00:00
fluxcdbot
0cd398c30c
CI: autofix rust code.
rustfmt Build rustfmt has failed
rust-test Build rust-test has succeeded
semver Build semver has succeeded
2023-07-18 17:48:21 +00:00
Tom Alexander
27d863b875
Fix the simple test by allowing bold to start/end with <> and by capturing trailing whitespace from radio links.
2023-07-14 20:55:16 -04:00
Tom Alexander
cdd3517655
Include the trailing space for the bolds.
2023-07-14 18:32:16 -04:00
Tom Alexander
e4c6ca2880
Add tracing.
rust-test Build rust-test has failed
2023-07-14 18:05:31 -04:00
Tom Alexander
b9a7c3f7f3
Fix lifetime issue.
2023-07-14 18:04:01 -04:00
Tom Alexander
4966b02b79
Expanded rematch_target to 3 lifetimes, no fix.
2023-07-14 17:45:20 -04:00
Tom Alexander
ddaefdbf78
Nearly done implementing re-matching of bold, but running into a lifetime issue.
2023-07-14 17:37:46 -04:00
Tom Alexander
90a47b7b49
Exit text markup if the parent exit matcher is triggering.
2023-04-24 17:16:07 -04:00
Tom Alexander
ed174c1c41
Fix nested bolds child eating the parent exit.
2023-04-24 16:48:33 -04:00
Tom Alexander
b2b1e9272c
Format.
2023-04-24 16:19:48 -04:00
Tom Alexander
9968aedd74
Make sure text markup doesn't have interior spaces.
2023-04-22 22:34:37 -04:00
Tom Alexander
62c226fb47
Fix matching only the specific markup.
2023-04-22 21:01:29 -04:00
Tom Alexander
e6c5670a85
Support string-based text markup (code and verbatim).
2023-04-22 20:57:30 -04:00
Tom Alexander
036f4add4a
The object parsers separated out.
2023-04-22 20:48:01 -04:00
Tom Alexander
d2fc8a513f
Separate out the text markup types into their own types.
2023-04-22 20:22:07 -04:00
Tom Alexander
fab4ce0544
Fix a warning.
2023-04-22 20:04:35 -04:00
Tom Alexander
b6233811c3
Fix the implementation of post.
2023-04-22 20:02:51 -04:00
Tom Alexander
9a3bde0d80
First attempt at text markup.
2023-04-22 19:34:13 -04:00
Tom Alexander
c0809cce10
Starting to parse text markup.
2023-04-22 19:06:48 -04:00
Tom Alexander
538031c688
Call the text markup parser.
2023-04-22 18:54:19 -04:00