Commit graph

77 commits

Author SHA1 Message Date
eb6910126f
doc: change repository url to use latest version 2023-03-21 10:26:57 +03:00
1f771e72af
grammar: add fill-pattern style attribute
Closes #9
2023-03-21 10:25:22 +03:00
02af3938f1
grammar: add new attributes 2023-02-16 23:31:02 +03:00
47cb1df7c8
doc: update screenshot 2023-01-05 17:14:51 +03:00
6a04387009
grammar: add link and tooltip attributes
Closes #18
2023-01-05 16:53:43 +03:00
32b1fa5555
grammar: add escape sequence for label and attr value 2023-01-05 16:53:09 +03:00
b9fa5785b4
grammar: add escape sequence for unquoted string
Closes #8
2023-01-05 16:28:22 +03:00
4fdf38aebe
chore: add help to makefile 2023-01-05 16:19:01 +03:00
Maximilian Linhoff
ca74052114 Fix missing comma in neovim install instructions 2022-12-21 10:31:53 +00:00
5459cdd065
format lua config 2022-12-13 16:42:07 +03:00
7a053d6bf1
fix parsing single-line block
Closes #11
2022-12-13 16:41:34 +03:00
9e60a469c5
add missed highlight for block comments 2022-12-13 12:15:16 +03:00
c8de4f83f0
add block comment
Closes #10
2022-12-13 11:26:52 +03:00
a1a2091ebf
fix highlight tests 2022-12-11 14:20:31 +03:00
fc3754658c
remove escape sequence for single quoted string 2022-12-11 14:16:23 +03:00
3fe837dccb
add install section for neovim to readme 2022-12-10 23:15:19 +03:00
16d8b4c5f7
remove unnecessary choice 2022-12-10 23:09:11 +03:00
03904d1cd3
use pre-commit hook instead 2022-12-10 23:00:30 +03:00
d5bbf88da6
change mode for pre-push script hook 2022-12-10 22:57:33 +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
1f0e76c937
add comment injection 2022-12-10 03:51:39 +03:00
84103fee37
fix available characters in the identifier 2022-12-09 23:56:54 +03:00
3c622036f6
remove invalid string quote 2022-12-09 22:31:39 +03:00
8b2a240f22
change highlights 2022-12-09 19:05:04 +03:00
b3a382ff5b
add primitive types 2022-12-09 18:49:33 +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
6ec0bb5c59
add attributes for connections
Closes #5
2022-12-09 14:09:39 +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
a5758ca249
add screenshot 2022-12-08 02:22:58 +03:00
9693327741
fix definition many shapes inside a container 2022-12-08 02:09:04 +03:00
90bb1822c1
fix comment in string 2022-12-08 02:04:36 +03:00
1a4be28021
add examples from d2 repo 2022-12-08 01:57:35 +03:00
6465055991
add base readme 2022-12-08 01:57:24 +03:00
7d4799f08a
add highlight tests for connections 2022-12-08 01:37:35 +03:00
8921cc8bbc
use regex for arrow to fix long arrow bug 2022-12-08 01:30:23 +03:00
6835da6d3c
add container key 2022-12-08 01:15:09 +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
fac4bde489
add catppuccin color pallete to dev editor 2022-12-07 17:17:33 +03:00
de08e20947
add d2 tree-sitter to dev editor 2022-12-07 17:14:44 +03:00
0cbd3f0dd6
add command to open playground 2022-12-07 15:30:45 +03:00
8ab49bb051
add dev editor 2022-12-07 13:57:13 +03:00
71c7e38bdb
add svg files to gitignore 2022-12-07 13:40:35 +03:00
c19d2d7681
fix highlight tests 2022-12-07 13:39:16 +03:00
d576ebc919
add highlight tests for keywords 2022-12-07 13:34:42 +03:00