Table of Contents

Class HttpHighlighter

Namespace
MarkMyDeck.SyntaxHighlighting
Assembly
MarkMyDeck.dll

Syntax highlighter for HTTP requests and responses with media-type-aware body highlighting.

public class HttpHighlighter : ISyntaxHighlighter
Inheritance
object
HttpHighlighter
Implements

Constructors

HttpHighlighter()

public HttpHighlighter()

Methods

Highlight(string, string)

Highlights code by breaking it into syntax tokens.

public IEnumerable<SyntaxToken> Highlight(string code, string language)

Parameters

code string
language string

Returns

IEnumerable<SyntaxToken>

SupportsLanguage(string)

Checks if this highlighter supports the specified language.

public bool SupportsLanguage(string language)

Parameters

language string

Returns

bool