here:
|
const highlighter: Highlighter = async (code, lang, theme, options = {}) => { |
lang is never normalized (e.g. .toLowerCase()), and has given me problems when I use TS (uppercase) for the codeblock instead of ts (lowercase). Perhaps we should normalize lang.