sphinx-proof icon indicating copy to clipboard operation
sphinx-proof copied to clipboard

Allow customizing environment text header

Open tobydriscoll opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe.

A prf environment always puts its title inside parentheses.

Describe the solution you'd like

I'd like the ability to customize the prefix and suffix of the title, e.g., "Theorem 1: Abel's formula".

Describe alternatives you've considered

I tried using CSS before: and after:, but the parens are hard-coded into the HTML. With the old sphinxcontrib-proof package, I was able to change the templates in config.yml, but this was undocumented and kludgy.

Additional context

Thanks! This package was badly needed.

tobydriscoll avatar Mar 05 '21 16:03 tobydriscoll

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Mar 05 '21 16:03 welcome[bot]