156 Commits

Author SHA1 Message Date
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
Florian Schroedl
fd8e0254f0 Fix test case 2022-02-09 15:12:03 +01:00
Florian Schroedl
3af4337d1e Add other parsers 2022-02-09 14:39:45 +01:00
Florian Schroedl
5c3446eeb2 Add delimiter parser 2022-02-09 14:34:18 +01:00
Florian Schroedl
a24f89f7ff Add whitespaceParser helper 2022-02-09 14:33:42 +01:00
Florian Schroedl
9d6be9707f Add block test 2022-02-09 13:04:05 +01:00
Florian Schroedl
305bd1e503 Restructure 2022-02-09 11:49:42 +01:00
Florian Schroedl
9bb0f8e38c Rename: parser to parser internals 2022-02-09 11:41:58 +01:00
Florian Schroedl
1aa07d943a Typo 2022-02-09 11:39:39 +01:00
Florian Schroedl
58100fb8dd Temp: Remove nimble install in nix-shell 2022-02-09 11:34:16 +01:00
Florian Schroedl
488d0b173b Seperate types & utils to files 2022-02-09 11:34:13 +01:00
Florian Schroedl
854d5d356d Remove config.nims 2022-02-09 08:08:41 +01:00