Commit graph

24 commits

Author SHA1 Message Date
6a04387009
grammar: add link and tooltip attributes
Closes #18
2023-01-05 16:53:43 +03:00
c8de4f83f0
add block comment
Closes #10
2022-12-13 11:26:52 +03:00
fc3754658c
remove escape sequence for single quoted string 2022-12-11 14:16:23 +03:00
5eb0507baa
Add support of any escape character in text block
See more here https://github.com/terrastruct/d2/issues/420
2022-12-10 22:56:41 +03:00
24cdec0cb3
improve strings and scanner for text block 2022-12-10 05:23:27 +03:00
84103fee37
fix available characters in the identifier 2022-12-09 23:56:54 +03:00
99d9fbbf63
add language injections
Closes #6
2022-12-09 18:21:55 +03:00
d230155d48
add text block
Closes #3
2022-12-09 16:09:10 +03:00
612b7fb871
fix unquoted strings and identifiers 2022-12-09 15:02:21 +03:00
095dd7d8f3
handle end of file
Closes #1
2022-12-09 12:54:11 +03:00
be8db7ca48 Add structure for container and shapes (#1)
![image](/attachments/5bf879cc-b94c-414e-b69b-92cbc018671e)

Co-authored-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me>
Reviewed-on: #1
2022-12-09 12:36:31 +03:00
ec5fa08c7c
cosmetic changes 2022-12-07 23:22:40 +03:00
2871ceb718
add support of shape path 2022-12-07 23:14:25 +03:00
867ed6662b
add invalid attributes 2022-12-07 18:52:19 +03:00
947900f03e
add test for aliased shape block 2022-12-06 12:41:41 +03:00
e7421caac0
add shape block 2022-12-06 12:32:50 +03:00
811520dfd4
support empty lines 2022-12-06 00:53:06 +03:00
78fe65f822
cosmetic changes 2022-12-06 00:34:41 +03:00
a1bf1367fb
remove extras 2022-12-05 11:36:14 +03:00
8fcd012702
add inline identifiers 2022-12-04 03:36:46 +03:00
5184b74138
cosmetic changes 2022-12-04 03:27:54 +03:00
e4a4f5f5c2
add more tests 2022-12-04 03:27:27 +03:00
a5059fd3de
fix identifier scanner 2022-12-04 03:13:40 +03:00
a2a7925e3b
initial commit 2022-12-04 00:07:26 +03:00