Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Research: Allow Markdown in template config #224

Open
eliashaeussler opened this issue Jun 20, 2023 · 0 comments
Open

[FEATURE] Research: Allow Markdown in template config #224

eliashaeussler opened this issue Jun 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@eliashaeussler
Copy link
Member

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:

  • 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

@eliashaeussler eliashaeussler added the enhancement New feature or request label Jun 20, 2023
@eliashaeussler eliashaeussler changed the title [FEATURE] Research: Allow Markdown in template config labels [FEATURE] Research: Allow Markdown in template config Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant