parseHtmlCodeWithLanguage static method

String parseHtmlCodeWithLanguage(
  1. String text,
  2. String language
)

Implementation

static String parseHtmlCodeWithLanguage(String text, String language) {
  return "<pre><code class=\"language-${language}\">${text}</code></pre>";
}