On Sat, Apr 24, 2021 at 11:53 AM Jan U. Hasecke <juh+ntg-context@mailbox.org> wrote:

Hi all,

how do you format your ConTeXt source files?

I recently discovered prettier which reformats source files for
different markup
and programming languages such as html, markdown, json etc.

There are some other tools around but I don't find anything for ConTeXt.

Do you know of any prettifying tool?

Is there a best practice for ConTeXt source files, at all?


you should consider that in TeX (but also in Python, for example) spaces matter.
Sometimes unwanted results are triggered by unseen blanks, and they  are hard to discover.

--
luigi