public static CodeFormatter GetCodeFormatter([NotNull] this CodeLangInfo info)
 {
     if (info == null)
     {
         throw new ArgumentNullException(nameof(info));
     }
     return(GetCodeFormatter(info.Name));
 }
 public static string MarkupCode(
     [NotNull] this CodeLangInfo langInfo,
     [NotNull] string source)
 {
     if (source == null)
     {
         throw new ArgumentNullException(nameof(source));
     }
     return(GetCodeFormatter(langInfo).Transform(source));
 }