HighlightingOptions
Pennington.Infrastructure
Options for code highlighting configuration.
Properties
HighlightersIReadOnlyList<ICodeHighlighter>- Highlighters registered via
AddHighlighteror the generic overload.
Methods
Pennington.Infrastructure.HighlightingOptions
namespace Pennington.Infrastructure;
/// Options for code highlighting configuration.
public class HighlightingOptions
{
/// Registers a pre-built highlighter instance.
public void AddHighlighter(ICodeHighlighter highlighter)
;
/// Registers a highlighter type, constructed with its parameterless constructor.
public void AddHighlighter<T>()
;
/// Highlighters registered via AddHighlighter or the generic overload.
public IReadOnlyList<ICodeHighlighter> Highlighters { get; }
}