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

Is it possible to change font color in violation message #9

Open
shyingsheng opened this issue Apr 26, 2019 · 2 comments
Open

Is it possible to change font color in violation message #9

shyingsheng opened this issue Apr 26, 2019 · 2 comments
Labels

Comments

@shyingsheng
Copy link

shyingsheng commented Apr 26, 2019

Hello,

Is it possible to change fond color, for example, I'd like to make "Severity" more visible with red color.
But I tried with html gramma in comment template, but it doesn't work.
**Reporter**: {{violation.reporter}}{{#violation.rule}} **Rule**: {{violation.rule}}{{/violation.rule}} **File**: {{violation.file}} L{{violation.startLine}}{{#violation.source}} **Source**: {{violation.source}}{{/violation.source}} {{violation.message}} **Severity**: <span style="color:#FF0000;">{{violation.severity}}</span>

@tomasbjerre
Copy link
Owner

This is not decided by these libraries but something that needs to be supported in the commented service.

I don't think any of them support coloring in markdown.

See: https://stackoverflow.com/questions/35465557/how-to-apply-color-in-markdown

@shyingsheng
Copy link
Author

So it's not supported. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants