You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, user-oriented output in template configurations is passed as-is to the Symfony Console renderer. This allows developers to use all available styling features.
However, sometimes it's annoying and hard to remember all available styling features. Tags like <comment> or <info> are generally available, but cause a lot of typing.
Describe the solution you'd like
I'd like to enable another feature next to the currently available styling features.
Developers should be able to use Markdown syntax in template configurations. Something like Will you be needing *PHPStan*? should be made possible. The whole text should then be processed by a Markdown formatter such as https://github.com/fiasco/symfony-console-style-markdown which will convert Markdown to Symfony Console style syntax.
Example:
Text: Will you be needing *PHPStan*?
Result: Will you be needing <fg=yellow>PHPStan</>? or Will you be needing <comment>PHPStan</comment>?
This improves readability, but stays compatible with the previous behavior.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
eliashaeussler
changed the title
[FEATURE] Research: Allow Markdown in template config labels
[FEATURE] Research: Allow Markdown in template config
Jun 20, 2023
Is your feature request related to a problem?
Currently, user-oriented output in template configurations is passed as-is to the Symfony Console renderer. This allows developers to use all available styling features.
However, sometimes it's annoying and hard to remember all available styling features. Tags like
<comment>
or<info>
are generally available, but cause a lot of typing.Describe the solution you'd like
I'd like to enable another feature next to the currently available styling features.
Developers should be able to use Markdown syntax in template configurations. Something like
Will you be needing *PHPStan*?
should be made possible. The whole text should then be processed by a Markdown formatter such as https://github.com/fiasco/symfony-console-style-markdown which will convert Markdown to Symfony Console style syntax.Example:
Will you be needing *PHPStan*?
Will you be needing <fg=yellow>PHPStan</>?
orWill you be needing <comment>PHPStan</comment>?
This improves readability, but stays compatible with the previous behavior.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: