()
| 10 | |
| 11 | @asyncweb.main |
| 12 | async def main(): |
| 13 | await whlimport.load_package("pygments") |
| 14 | import pygments |
| 15 | import pygments.formatters.html |
| 16 | import pygments.lexers |
| 17 | |
| 18 | lexer = pygments.lexers.get_lexer_by_name("python") |
| 19 | fmter = pygments.formatters.html.HtmlFormatter(noclasses=True, style="default") |
| 20 | print(pygments.highlight("print('hi, mom!')", lexer, fmter)) |
nothing calls this directly
no test coverage detected