Questions tagged [highlighting-code]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
0answers
26 views

Enable code highlight in quotes by default

This network-wide question shows how to enable syntax highlight in code blocks inside quotes, as it's off by default. But here most of the time we want PHP highlight. My request is: can Drupal ...
0
votes
1answer
21 views

Code blocks and URLs - is it the way to go?

I mean this edit, but I've seen it happen couple of times already. Is it OK to put URLs in code block? For me if it's a list of addresses, it should be formatted as a list. I might understand ...
2
votes
3answers
89 views

Is there a better way to indent code and highlight code or errors?

Forgive my frustration, please, but, highlighting code with "four spaces for each line" ... is very inefficient. I had a problem with some code that spit out errors I would like for the community to ...
3
votes
1answer
63 views

Set the default code language for tags to “default” instead of “none”

I noticed that there are many tags for which the code language used for code highlighting is set to "none," which means that a question using one or more of those tags would not use any highlighting ...
5
votes
1answer
112 views

Set the default highlighting mode to “lang-php”

There are some questions for which the syntax highlighting is not active because none of the tags used for the question have syntax highlighting enabled. Difficulties with the #ajax form item ...