Commit graph

125 commits

Author SHA1 Message Date
kotaindah55
f2302aa30d build: move all sub-tokenizer to the tokenizer-components 2025-03-04 16:56:45 +02:00
kotaindah55
ccf98a0fe6 refactor: redefine the token enums 2025-03-04 16:54:21 +02:00
kotaindah55
e3768833c2 refactor: rename SettingOpt1 to MarkdownViewMode 2025-03-04 16:52:24 +02:00
kotaindah55
0da3126283 refactor: move all the format constants to Format.ts 2025-03-04 16:51:23 +02:00
kotaindah55
48fa008223 refactor: separate the rules besed on the token level 2025-03-04 16:50:30 +02:00
kotaindah55
70872ad5a6 chore: bump to 2.0.3 2025-02-25 23:49:54 +02:00
kotaindah55
810597a2ef docs: capitalize "Markdown" 2025-02-25 23:07:51 +02:00
kotaindah55
b43078ba34 chore: capitalize "Markdown" 2025-02-25 23:03:51 +02:00
kotaindah55
cf3860dbf0 chore: capitalize "Markdown" 2025-02-25 23:02:07 +02:00
kotaindah55
a9c836cd35 feat: assign blkStart at the initialization 2025-02-08 22:45:02 +02:00
kotaindah55
212e4d5789 style: change "nextLine" to "advanceLine"
"advanceLine" is more explanatory and distiguishable term than "nextLine". Others might think that "nextLine" is a getter or property.
2025-02-08 22:38:23 +02:00
kotaindah55
1304dbf8de refactor: attach isBlankLine fn to ParserState.isBlankLine 2025-02-08 22:30:20 +02:00
kotaindah55
2eceea7268 feat: add blkStart property to the ParserState
Used to state that the current line is a block start.
2025-02-08 22:28:45 +02:00
kotaindah55
46fc4b0518 feat: add helper to check that the line is blank 2025-02-08 22:26:44 +02:00
kotaindah55
4b6c2a5159 feat: add helper to check that the line is blank 2025-02-08 22:26:03 +02:00
kotaindah55
57d5b9db37 style: change "gOffset" to "globalOffset" 2025-02-08 21:56:49 +02:00
kotaindah55
660ae524f8 chore: change minAppVer to 1.7.4 2025-02-07 09:41:58 +02:00
kotaindah55
38a73bdbab docs: remove duplicated content 2025-02-07 09:35:05 +02:00
kotaindah55
6ee2e08a05 docs: add FAQ 2025-02-07 09:34:37 +02:00
kotaindah55
bce35d90ee docs: use "ins" tag instead of "u" tag 2025-02-07 09:34:23 +02:00
kotaindah55
24a5c8ba59 fix: add syntax functionality in live-preview table 2025-02-07 08:58:47 +02:00
kotaindah55
7a954a3b77 chore: bump version into 2.0.1 2025-02-06 21:46:04 +02:00
kotaindah55
c817d7af5e refactor: add "./appFacet" in index.ts 2025-02-06 21:40:26 +02:00
kotaindah55
e603637b1b style: add parenthesis 2025-02-06 21:39:54 +02:00
kotaindah55
9f0b32a2b3 fix: treat wikilink as a skipped node 2025-02-06 21:39:20 +02:00
kotaindah55
e7d57e7cec feat: add CharPos type 2025-02-06 21:38:38 +02:00
kotaindah55
5623ae2039 chore: add style rule for colors menu "Remove" item 2025-02-06 21:38:08 +02:00
kotaindah55
4b760176d5 feat: add appFacet for ease access Plugin.app 2025-02-06 21:37:28 +02:00
kotaindah55
978fb7c0b1 feat: add appFacet for ease access Plugin.app 2025-02-06 21:36:50 +02:00
kotaindah55
048b8f5efa fix: no longer parse the entire text on a big file 2025-02-06 21:36:16 +02:00
kotaindah55
58745b2835 fix: fix decorator issue when facing big text 2025-02-06 21:34:33 +02:00
kotaindah55
1de32ca303 feat: add CharPos type 2025-02-06 21:32:11 +02:00
kotaindah55
240c86b620 refactor: remove unused this.color property 2025-02-06 21:31:15 +02:00
kotaindah55
5106b8147e refactor: separate between color tag and menu item's name 2025-02-06 21:30:44 +02:00
kotaindah55
c8ab1273bf feat: extend plugin with facet storing "this.app" 2025-02-06 21:27:46 +02:00
kotaindah55
50a209a589 feat: add ability to remove highlight from colors menu 2025-02-06 21:25:48 +02:00
kotaindah55
1ff4d008e5 style: remove redundant comment 2025-02-06 21:21:18 +02:00
kotaindah55
c0b5763d07 chore: remove unused css rule 2025-02-06 21:19:40 +02:00
kotaindah55
f6c52d8ddc style: remove "cm" from color menu class 2025-02-06 21:19:05 +02:00
kotaindah55
30b6807abd style: remove "cm" from menu class 2025-02-06 21:18:35 +02:00
kotaindah55
21b7122819 style: use more explicit identifier 2025-02-06 21:16:41 +02:00
kotaindah55
2179ac5249 fix: pass 8 as "startWith" second parameter
I forgot to pass 8 as the second parameter of startWith method when qualify nodeName string. Because, it lead to proper context analysis. 8 is the length of "HyperMD-" string. It's written as the start name of each line that is treated as "block element", such us list, heading, and so on.

That string ("HyperMD-") is followed by one of block types. From that point, if you want to get the block type with startWith method (by immediately typing its block type like "list"), you have to pass the offset number, which is that length above. Otherwise, you get nothing but false return, not because of no type either, but because you are facing "HyperMD-" string.
2025-02-05 22:25:17 +02:00
kotaindah55
a6e3c953f7 chore: add eslint dependency 2025-02-05 18:10:17 +02:00
kotaindah55
69eba9ee02 chore: migrate to higher version 2025-02-05 17:56:04 +02:00
kotaindah55
6950fdbf0a chore: migrate to 2.0.0 2025-02-05 17:35:02 +02:00
kotaindah55
1a7828e5ca refactor: use Notice instead of Setting.setDesc 2025-02-05 17:20:35 +02:00
kotaindah55
6cc89e67e5 fix: fix misspelled colorButton as editorEscape 2025-02-05 17:15:09 +02:00
kotaindah55
33fdc53481 docs: don't use alert with nested blockquote 2025-02-05 17:09:41 +02:00
kotaindah55
2090b3618f docs: move media directory and use few gifs 2025-02-05 17:01:11 +02:00
kotaindah55
d458bada3b docs: use few gifs 2025-02-05 17:00:34 +02:00