When a SCRATCHFILE_ERROR is emitted, CAN should inform the user¶
CAN should fire a SCRATCHFILE_ERROR event if unsupported syntax is found. When this happens, the user should be informed. For now, CAN should simply print the error with some context 'parsing scratchfile failed'.
Backlinks¶
- CAN should parse the scratchfile when it is updated
- CAN should fire a SCRATCHFILE_PARSED event when the scratchfile is parsed. CAN should fire a SCRATCHFILE_ERROR event if unsupported syntax is found. This could be an error in the parsing step (CAN will use remark to process markdown) or markdown that CAN does not explicitly support - CAN notes are written in a subset of markdown. When a SCRATCHFILE_ERROR is emitted, CAN should inform the user