Commit Graph

47 Commits

Author SHA1 Message Date
Florian Schroedl
4c6ca48b8b Finish pretty printer for blocks 2022-05-25 19:53:00 +02:00
Florian Schroedl
e75482d98a Simplify function 2022-05-25 19:16:58 +02:00
Florian Schroedl
a33dce136e Extract stringifying functions 2022-05-25 19:13:46 +02:00
Florian Schroedl
074c9f0c2d Add better printers 2022-05-25 19:05:11 +02:00
Florian Schroedl
b069a76aaf Add some css 2022-05-20 19:35:30 +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
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
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
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
abacfda371 Add link parser 2022-02-16 11:21:32 +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
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
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
9bb0f8e38c Rename: parser to parser internals 2022-02-09 11:41:58 +01:00
Florian Schroedl
488d0b173b Seperate types & utils to files 2022-02-09 11:34:13 +01:00
Florian Schroedl
e2942154a2 Cleanup 2022-02-08 17:10:28 +01:00
Florian Schroedl
a188a0f97b Add newline to end properties block 2022-02-08 17:10:16 +01:00
Florian Schroedl
61897b1c66 Restore propertiesEndParser 2022-02-08 17:09:02 +01:00
Florian Schroedl
97eb1cb80a Fix property without value case 2022-02-08 17:07:49 +01:00
Florian Schroedl
81dbdd8d69 Remove parser prefix 2022-02-08 16:33:20 +01:00
Florian Schroedl
5ba68c5f61 Update parsers 2022-02-08 16:30:57 +01:00
Florian Schroedl
d7b281f7cd Fix start parsers 2022-02-08 16:30:40 +01:00
Florian Schroedl
20a81fed98 keep token fields seperate 2022-02-08 16:30:12 +01:00
Florian Schroedl
21a6234149 Extract properties block parser to file 2022-02-08 09:34:53 +01:00