um dude you have to include the full language name

This commit is contained in:
dousha 2025-01-06 00:31:23 +08:00
parent b7a5a8dce2
commit bc174db57f

View File

@ -35,7 +35,7 @@ def md(html, **options):
def code_parser(el):
return el['data-language'][0] if el.has_attr('data-language') else 'text'
return el['data-language'] if el.has_attr('data-language') else 'text'
mkdirp('output')