Very rough routine that tries to figure out syntax based on code block.
markdown, json, html, xml, css
public static string Detect(string code, string defaultSyntax)
Parameters
code
defaultSyntax
See also:
Class LanguageAutoDetection© West Wind Technologies, 2016-2023 • Updated: 11/23/21
Comment or report problem with topic