yuin / goldmark

:trophy: A markdown parser written in Go. Easy to extend, standard(CommonMark) compliant, well structured.
MIT License
3.68k stars 255 forks source link

Proposal - Allow mixed case attribute names #276

Closed jmooring closed 2 years ago

jmooring commented 2 years ago

Currently, this does not do anything:

```text {LineNos=true LineNoStart=42}
foo

You must do this instead:
foo


Users are accustomed to case-insensitive HTML attribute names. I understand this is markdown, not HTML, but there is a similar expectation from non-developer users.

Reference:
- <https://github.com/yuin/goldmark-highlighting/issues/30>