allow deriving pretty printing config from a set of directives

Created by  korrat  on October 1, 2022
NSWL54NMMYELYDQNRFAO7S6GBFDW6MDJ5TM2EYMK2VX336DGACHQC
Change contents