|
|
@@ -50,7 +50,7 @@ All syntax features flow through a 2-stage pipeline in `packages/editor/src/lib/
|
|
|
[ParsedDecorations — unified output struct]
|
|
|
```
|
|
|
|
|
|
-> **Note**: `classifyBlock()` in `block-classifier.ts` is used only by the paste handler (`usePasteHandler.ts`), not by the main decoration engine. Priority detection (`[#A]`, `[#B]`, `[#C]`) was removed from the parser; these are treated as plain text.
|
|
|
+> **Note**: `classifyBlock()` in `block-classifier.ts` is used only by the paste handler (`usePasteHandler.ts`), not by the main decoration engine.
|
|
|
|
|
|
### Unified Output Contract
|
|
|
|
|
|
@@ -75,17 +75,16 @@ Do not change this interface without updating both unit tests and block render c
|
|
|
|
|
|
## Supported Syntax
|
|
|
|
|
|
-### Task States and Priorities
|
|
|
+### Task States
|
|
|
|
|
|
```
|
|
|
-TODO Fix the critical focus bug [#A]
|
|
|
-└──┘ └──┘
|
|
|
-status priority
|
|
|
+TODO Fix the critical focus bug
|
|
|
+└──┘
|
|
|
+status
|
|
|
```
|
|
|
|
|
|
- **Valid states:** `TODO`, `DOING`, `DONE`, `LATER`, `NOW`, `WAITING`, `CANCELLED`
|
|
|
- **State progression:** `TODO → DOING → DONE` (linear). `LATER`, `NOW`, `WAITING`, `CANCELLED` are orthogonal.
|
|
|
-- **Valid priorities:** `[#A]`, `[#B]`, `[#C]` — independent of task state. Priority tokens are **plain text** in the parser; they are not extracted as decorations.
|
|
|
|
|
|
### Obsidian-Style Elements
|
|
|
|