I would like to do redefine the section title command by enclosing it with ornaments like the following:
~ornament~ SectionTitle ~ornament~
I had looked up the titlesec documentation and many more example on how to redefine titles without any clues on how to add text after the title.
The aim is to add text in the section title after the \thesection command.
tldr;
I find out how to redefine \section to do that:
~ornament~ SectionTitle
but not how to do that:
~ornament~ SectionTitle ~ornament~

