mgdm / htmlq

Like jq, but for HTML.
MIT License
7k stars 107 forks source link

Improve display of code-blocks in `README.md` #18

Closed Alhadis closed 2 years ago

Alhadis commented 2 years ago

This PR combines a bunch of cosmetic enhancements to the readme file, plus an extra example to showcase how bat can be used to add syntax highlighting.

The latter includes a screenshot that's uploaded as a file attachment to https://github.com/mgdm/htmlq/pull/17#issuecomment-915206105, since I didn't feel comfortable asking the author to accept a 19 KB blob of uncompressible image data in addition to a bunch of lightweight improvements.

mgdm commented 2 years ago

Hey! Thanks for your work here, that looks better. I've since made a couple of edits to the README which have caused a conflict, do you mind rebasing? I can do that later if you prefer.

Alhadis commented 2 years ago

Conflicts resolved.

Alhadis commented 2 years ago

@mgdm As an afterthought, I also added permalinks to the headings you added in 014ae25. Hope that's okay.

mgdm commented 2 years ago

That's great, thanks so much!