Forum posting question ... how post a thread question with color syntax highlighting ??

Steven Schveighoffer schveiguy at gmail.com
Sun Sep 5 19:45:34 UTC 2021


On 9/5/21 2:07 PM, james.p.leblanc wrote:

> But, my eyes had been looking for the beautiful green and blue
> text as an example ...  So, I completely missed the fact
> that the "highlight syntax" in the box was exactly what
> I was looking for.

Actually, it may not be a bad idea to make that example markdown more 
colorful by adding some keywords and comments. Maybe instead of

```d
writeln("D is great!");
```

it could be:

```d
// should be highlighted!
auto str = "D is great!";
```

-Steve


More information about the Digitalmars-d-learn mailing list