MicrosoftDocs / feedback

📢 docs.microsoft.com site feedback
https://learn.microsoft.com
Creative Commons Attribution 4.0 International
239 stars 160 forks source link

Syntax highlighting is inconsistent for Class names #641

Open mairaw opened 6 years ago

mairaw commented 6 years ago

Original GitHub issue https://github.com/dotnet/docs/issues/7328 from @Shah-Nisarg

I saw this in one of the examples:

image

Notice the highlighting on constructors of XElement; two of them are highlighted in lighter blue color, while the rest are in black color.

I noticed that you are using highlight.js v9.12.0. So let me know if I should raise the issue on their repo.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Powerhelmsman commented 6 years ago

@cillroy Is this in your area?

cillroy commented 6 years ago

Let me check into this, it could be a bug in the library we are using for c#

published page: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/data-transformations-with-linq#transforming-in-memory-objects-into-xml

mairaw commented 5 years ago

Have you found out anything @cillroy?

BillWagner commented 5 years ago

In dotnet/docs#10042, @HermannGruber described other examples of this problem. The when keyword is not highlighted correctly in exception filters or pattern matching statements.

I've closed that issue as a duplicate of this one.

mairaw commented 5 years ago

@cillroy do we have an internal bug tracking this?