Highlightr
Highlightr copied to clipboard
Fallback to auto-language if highlighting fails
I ran into a case where the highlight would return undefined from javascript. it seems due to an unsupported language name. Instead, this case is retried with automatic highlighting, which does return a valid result.