namespace AIStudio.Tools.CodeHighlighting; /// /// Something which hints at a language when it appears in a code block, such as using System; for C#. /// /// What has to appear. /// Where it has to appear. /// How strongly it hints at the language: 4 alone suffices, as only this language /// writes it so; 1 hints only together with others. /// Whether it matches in any case, as the keywords of SQL do. public sealed record CodeLanguageMarker(string Text, CodeMarkerPlace Place, int Weight, bool IgnoreCase = false);