remarkjs/remark

Add task list formatting

txtyash opened this issue · 3 comments

Initial checklist

Problem

Task list is incorrectly formatted. Remark-ls escapes brackets.

Solution

There's no need to escape brackets. Just format task list like prettier does.

Alternatives

Not enough info.

Hi! This was closed. Team: If this was fixed, please add phase/solved. Otherwise, please add one of the no/* labels.

@wooorm
The task list should look like this:

- [ ] Artificial Intelligence
  - [ ] Unit III **Adversarial Search and Games**
  - [ ] Unit IV **Knowledge**
  - [ ] Unit V **Reasoning**
  - [ ] Unit VI **Planning**
  - [ ] Prelim Questions

but on saving the file it looks like:

*   \[ ] Artificial Intelligence
    *   \[ ] Unit III **Adversarial Search and Games**
    *   \[ ] Unit IV **Knowledge**
    *   \[ ] Unit V **Reasoning**
    *   \[ ] Unit VI **Planning**
    *   \[ ] Prelim Questions