Tom Alexander
|
58ca9569a6
|
Compare export type.
|
2023-10-05 02:15:32 -04:00 |
|
Tom Alexander
|
1da521b08a
|
Compare value for export block.
|
2023-10-05 02:06:26 -04:00 |
|
Tom Alexander
|
386ad5091d
|
End switches at the first unrecognized word in src blocks.
|
2023-10-05 01:55:33 -04:00 |
|
Tom Alexander
|
3742f4fa08
|
Remove double option.
|
2023-10-05 00:53:11 -04:00 |
|
Tom Alexander
|
11a7234900
|
Handle empty parameters with whitespace preceding.
|
2023-10-05 00:49:15 -04:00 |
|
Tom Alexander
|
50a3631b79
|
Handle whitespace after parameters in src blocks.
|
2023-10-05 00:43:03 -04:00 |
|
Tom Alexander
|
93fe46e4e7
|
Populate the name field on elements.
|
2023-10-04 21:27:55 -04:00 |
|
Tom Alexander
|
057c8a1387
|
Compare name.
|
2023-10-04 19:43:34 -04:00 |
|
Tom Alexander
|
4fc81e983a
|
Add tests for names for lesser blocks.
|
2023-10-04 19:39:50 -04:00 |
|
Tom Alexander
|
87ac18e6b2
|
Add real handling for preserve indent.
Now that I know which flag changes this setting, we can handle it properly.
|
2023-10-04 19:23:47 -04:00 |
|
Tom Alexander
|
c877116540
|
Fix handling of spaces between language, switches, and parameters.
|
2023-10-04 18:57:51 -04:00 |
|
Tom Alexander
|
8e70773b15
|
Fix handling cases where only language is specified before parameters.
|
2023-10-04 18:11:38 -04:00 |
|
Tom Alexander
|
f046b16c11
|
Compare src block parameters.
|
2023-10-04 18:02:50 -04:00 |
|
Tom Alexander
|
1ab7d2f2d7
|
Add a test showing we are not handling exports flags properly.
|
2023-10-04 17:32:51 -04:00 |
|
Tom Alexander
|
a548c7e170
|
Exclude language from the switches property.
|
2023-10-04 17:11:13 -04:00 |
|
Tom Alexander
|
b556f4617f
|
Add src block properties.
These are largely the same as example blocks but with a :language property.
|
2023-10-04 16:58:45 -04:00 |
|
Tom Alexander
|
13163f2468
|
Retain labels stays a boolean without -r.
|
2023-10-04 16:37:15 -04:00 |
|
Tom Alexander
|
da5dcd4c1b
|
Support multiple commas when escaping lines.
|
2023-10-04 16:03:45 -04:00 |
|
Tom Alexander
|
bcade66e68
|
Retain labels is actually either a boolean or a number.
|
2023-10-04 15:43:09 -04:00 |
|
Tom Alexander
|
301a6db83e
|
Fix retain labels.
This is a numeric value based on the character offset of -k from the beginning of the switches.
|
2023-10-04 15:21:27 -04:00 |
|
Tom Alexander
|
32da06776c
|
Handle matching no switches.
|
2023-10-04 15:21:27 -04:00 |
|
Tom Alexander
|
169bf69f5e
|
Preserve the leading whitespace before an escape.
|
2023-10-04 15:21:27 -04:00 |
|
Tom Alexander
|
7ee48ff65c
|
Switch to handling the unescaping during the initial parsing.
This preserves the line ending characters unlike the rust .lines() iterator.
|
2023-10-04 15:21:27 -04:00 |
|
Tom Alexander
|
b56d847cfa
|
Compare label format, retain labels, and use labels.
|
2023-10-04 15:21:27 -04:00 |
|
Tom Alexander
|
1503054994
|
Make an argument for the line number switch optional.
|
2023-10-04 11:46:02 -04:00 |
|
Tom Alexander
|
03028889bd
|
Fix capturing trailing whitespace for switches.
|
2023-10-04 11:34:01 -04:00 |
|
Tom Alexander
|
317293f0f2
|
Extract the line number from the switches.
|
2023-10-04 11:31:45 -04:00 |
|
Tom Alexander
|
3d7f411cf9
|
Compare number lines for example blocks.
|
2023-10-04 10:31:01 -04:00 |
|
Tom Alexander
|
1d7770e590
|
Rename data to switches in example and src block.
|
2023-10-04 09:59:11 -04:00 |
|
Tom Alexander
|
4cdf88a632
|
Switches are not stored for comment blocks, but they are allowed to appear.
|
2023-10-04 09:51:28 -04:00 |
|
Tom Alexander
|
f7690ff64b
|
Remove an allocation for lesser block end.
|
2023-09-22 00:55:10 -04:00 |
|
Tom Alexander
|
84953c1669
|
Put back in needed pubs.
|
2023-09-11 14:59:23 -04:00 |
|
Tom Alexander
|
7650a9edff
|
Remove all pub.
|
2023-09-11 13:11:08 -04:00 |
|
Tom Alexander
|
c4d7e646fc
|
Support spaces after the end of a lesser block.
|
2023-09-06 18:54:01 -04:00 |
|
Tom Alexander
|
84edd10864
|
Change lesser block exit class to Alpha.
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded
rustfmt Build rustfmt has succeeded
When an example block is nested inside a list, this change allows for the contents of the example block to be on lines less indented than before.
|
2023-09-06 14:14:02 -04:00 |
|
Tom Alexander
|
df79cbd0b7
|
Give global options their own lifetime.
|
2023-09-03 16:22:40 -04:00 |
|
Tom Alexander
|
0b009511ff
|
Fixing more errors.
|
2023-09-03 12:28:45 -04:00 |
|
Tom Alexander
|
cd69e08516
|
Fixing more errors.
|
2023-09-03 11:05:34 -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
|
ae3510abd5
|
Do not cast lesser block name to lowercase at runtime.
This reduced the runtime of my problematic test case from 6.9 seconds to 6 seconds.
|
2023-08-24 20:10:43 -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
|
e5224cda63
|
Removing dead code.
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded
|
2023-08-24 18:40:25 -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
|
a7b298eeec
|
Fix lesser block exit priority.
The paragraph end was matching text inside lesser blocks.
|
2023-08-14 17:32:10 -04:00 |
|
Tom Alexander
|
1bbfbc3164
|
Add additional tracing to lesser block.
|
2023-08-14 17:32:09 -04:00 |
|
Tom Alexander
|
cd1b4ba785
|
Make the tracing macros optional.
|
2023-08-10 20:22:34 -04:00 |
|
Tom Alexander
|
1044625acb
|
Clean up import.
|
2023-04-22 22:58:10 -04:00 |
|