remarkjs / remark-language-server

A language server to lint and format markdown files with remark
MIT License
33 stars 1 forks source link

Task list formatting #7

Closed txtyash closed 2 years ago

txtyash commented 2 years ago

Initial checklist

Problem

Task list is incorrectly formatted. Brackets are escaped during formatting.

Solution

No need to escape brackets while formatting task list.

Alternatives

-

wooorm commented 2 years ago

Please don't open 3 issues. Spend time framing your question. jeez

txtyash commented 2 years ago

@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
wooorm commented 2 years ago

Stop spamming or I will block you.

Follow our support guide to ask for help.

Use remark-gfm.