Aidan Woods
|
8764512c23
|
Add SlugRegister so IDs are not duplicated
|
2020-05-10 14:32:01 +01:00 |
|
Aidan Woods
|
e332b4710a
|
Add HeaderSlug configurable
Adds HeaderSlug configurable, with the option for the slug function
to be customised.
Co-authored-by: netniV <netniv@hotmail.com>
|
2020-05-10 14:31:55 +01:00 |
|
Aidan Woods
|
3ccd64a9a1
|
Expand public API of Components
Ref: https://github.com/erusev/parsedown/issues/694
|
2019-04-07 16:38:19 +01:00 |
|
Aidan Woods
|
3c0b528d54
|
Constructor shouldn't be part of public API
|
2019-04-07 16:38:18 +01:00 |
|
Aidan Woods
|
2b79d599fb
|
Require State to build and advance blocks
|
2019-04-07 16:38:15 +01:00 |
|
Aidan Woods
|
a681cf631c
|
Acquisition capable blocks as an interface
|
2019-04-07 16:38:15 +01:00 |
|
Aidan Woods
|
c310625b93
|
Length not necessary
|
2019-04-07 16:38:13 +01:00 |
|
Aidan Woods
|
117912c373
|
Substr over indexing string
|
2019-04-07 16:38:12 +01:00 |
|
Aidan Woods
|
49dd8b113d
|
Make sure closing sequence is removed correctly
|
2019-04-07 16:38:10 +01:00 |
|
Aidan Woods
|
d6f526d80f
|
Return state after block parse instead of mutating the instance copy
|
2019-04-07 16:38:06 +01:00 |
|
Aidan Woods
|
d733c262c2
|
Cleanup logical operators
|
2019-04-07 16:38:06 +01:00 |
|
Aidan Woods
|
11da347aa1
|
We don't need to pass a Parsedown instance down
Since Parsedown is instancible from State, we only
need to carry that down.
|
2019-04-07 16:38:05 +01:00 |
|
Aidan Woods
|
eb90905d27
|
Default value is intrinsic to a configurable, we can just always
retrieve that.
|
2019-04-07 16:38:04 +01:00 |
|
Aidan Woods
|
00821bd072
|
Don't remove right #'s too early (before dealing with whitesapce)
|
2019-04-07 16:38:03 +01:00 |
|
Aidan Woods
|
b8cdc6e9a5
|
Remove closing # sequence from header
|
2019-04-07 16:38:03 +01:00 |
|
Aidan Woods
|
67231cbae1
|
Tabs are allowed after header delimiter
|
2019-04-07 16:38:03 +01:00 |
|
Aidan Woods
|
81a2050608
|
Headers can't start with more than three spaces
|
2019-04-07 16:38:03 +01:00 |
|
Aidan Woods
|
3d41f270c2
|
Better name for testing safe mode and strict mode state
Add a nice named constructor
|
2019-04-07 16:38:03 +01:00 |
|
Aidan Woods
|
c9388cb5c2
|
Make use of line name instead of lineElements
|
2019-04-07 16:38:01 +01:00 |
|
Aidan Woods
|
07c2566042
|
Implement Header
|
2019-04-07 16:37:54 +01:00 |
|