FileHelper.SyntaxHighlight Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

SyntaxHighlight(string)

Returns the language code used for syntax highlighting the specified file.

public static string SyntaxHighlight(string path)

Parameters

path
string

The path string to check.

Returns

string

The language code used for syntax highlighting.