jgm / djot.js

JavaScript implementation of djot
MIT License
155 stars 18 forks source link

test: fix and test number comments #100

Closed not-my-profile closed 1 week ago

not-my-profile commented 1 week ago

Many comments were misaligned in 9f7ddab (eslint fixes) by changing let to const which is two chars longer.

This commit fixes the alignments as well as consistently puts the digits for \n below the blackslash. A respective test is introduced (which can update all comments if the OVERRIDE environment variable is set).

jgm commented 1 week ago

Great, thanks.