Commit Graph

117 Commits

Author SHA1 Message Date
Florian Schroedl
b42a664128 Dynamic heading element 2022-05-19 15:51:46 +02:00
Florian Schroedl
e9718da7a1 Use more readable QuitSuccess 2022-05-19 15:51:25 +02:00
Florian Schroedl
87b67ee3f1 Shut down gracefully 2022-05-19 15:51:15 +02:00
Florian Schroedl
3cb84f8eff Ignore compiled file 2022-05-19 13:01:14 +02:00
Florian Schroedl
6c555a77a3 Use regular anchar, performantAnyChar has a bug where it eats one char too many 2022-05-19 13:00:42 +02:00
Florian Schroedl
6ba5742e8f Compilation watcher finishd 2022-05-18 19:01:00 +02:00
Florian Schroedl
20c183910d Watch 2022-05-18 17:57:46 +02:00
Florian Schroedl
8b21ffc334 Wrap in h1 2022-05-18 14:17:56 +02:00
Florian Schroedl
e2ace843ec Fix fragment displaying raw chars 2022-05-17 18:53:56 +02:00
Florian Schroedl
713dd4cb80 Add text 2022-05-17 18:53:44 +02:00
Florian Schroedl
468586ffaa Add fragment 2022-05-17 18:36:52 +02:00
Florian Schroedl
6409a562d6 Generating markup 2022-05-17 15:58:21 +02:00
Florian Schroedl
643ced98ab Render items with react 2022-05-17 08:05:39 +02:00
Florian Schroedl
2e57ff5129 Cleanup 2022-05-11 14:39:05 +02:00
Florian Schroedl
31844ed68d Always take initial builder on the first parser/builder [*]
[*] Fixes bug where the builder would just copy the attributes of the
previous element.
2022-05-08 16:52:39 +02:00
Florian Schroedl
178bbed09d Parsing org tree 2022-05-08 16:40:24 +02:00
Florian Schroedl
e3491c833f Parse content 2022-05-08 16:11:47 +02:00
Florian Schroedl
59815a517e Parse org heading content 2022-05-08 15:56:18 +02:00
Florian Schroedl
6559220f74 Extract building function 2022-05-08 15:23:39 +02:00
Florian Schroedl
dae7e7e0a3 Basic headline 2022-05-08 15:15:12 +02:00
Florian Schroedl
722e66cf85 Create an org heading builder 2022-05-08 14:46:54 +02:00
Florian Schroedl
bec4953a97 Commentary 2022-05-05 20:17:22 +02:00
Florian Schroedl
f41534ab1a Allow passing of concatFn 2022-05-05 20:07:29 +02:00
Florian Schroedl
af7ff33ca3 Cleanup: Use props instead of index 2022-05-05 19:49:07 +02:00
Florian Schroedl
1350bd62f4 Fix flake 2022-05-04 13:26:28 +02:00
Florian Schroedl
af063ba2f2 Rename OrgElement -> OrgInlineBlock 2022-02-17 14:21:58 +01:00
Florian Schroedl
d786225bac Add link parser to text 2022-02-17 12:47:17 +01:00
Florian Schroedl
e99c7352b6 Fix types for builder seq 2022-02-17 12:46:58 +01:00
Florian Schroedl
86a3c009b8 Cleanup 2022-02-17 11:15:25 +01:00
Florian Schroedl
b7c0ead7d2 Add org builder initializer 2022-02-17 11:13:02 +01:00
Florian Schroedl
ff1d6845eb Remove concatination from the builder, it's now the duty of the internal method 2022-02-17 11:11:47 +01:00
Florian Schroedl
6fe5df066a Add link tokenizer & stringifier 2022-02-16 12:09:19 +01:00
Florian Schroedl
64a5b587fe Fix test 2022-02-16 12:09:00 +01:00
Florian Schroedl
abacfda371 Add link parser 2022-02-16 11:21:32 +01:00
Florian Schroedl
c96e9244ea Remove unneeded file 2022-02-16 11:03:09 +01:00
Florian Schroedl
4abd1604c1 Extact builders 2022-02-16 10:29:25 +01:00
Florian Schroedl
b5a678557b Extract token flattening function 2022-02-16 10:26:00 +01:00
Florian Schroedl
ff84711e64 Use func 2022-02-16 10:22:00 +01:00
Florian Schroedl
8e220bcb81 Clean up structure 2022-02-16 10:19:37 +01:00
Florian Schroedl
a4f842e946 Move delimiter parser to internals 2022-02-16 10:09:43 +01:00
Florian Schroedl
c19dd096c3 Document and move tryParseBuild 2022-02-16 10:05:44 +01:00
Florian Schroedl
b1e4a36e36 Documentation 2022-02-16 10:00:44 +01:00
Florian Schroedl
51f4f3d35f Use helper function 2022-02-15 22:21:53 +01:00
Florian Schroedl
bec0742e51 Finsih builder for all formatting options 2022-02-15 22:13:30 +01:00
Florian Schroedl
7f6d75a11e Convert tokens tail 2022-02-15 18:50:48 +01:00
Florian Schroedl
912a834af6 Convert tokens before 2022-02-15 18:44:45 +01:00
Florian Schroedl
7ba1a9591f Finish builder 2022-02-15 18:02:14 +01:00
Florian Schroedl
7c16ece752 Build text parser 2022-02-15 17:42:51 +01:00
Florian Schroedl
647c5cdf00 Remove debug code 2022-02-09 15:39:48 +01:00
Florian Schroedl
a4dfffdacf Fix throw when passing -1 from inital parser 2022-02-09 15:17:37 +01:00