Skip to main content

Module language

Module language 

Source
Expand description

pi’s getLanguageFromPath in modes/interactive/theme/theme.ts of pi v1.0.0: the language name pi gives a file’s code, for code renderers.

Functions§

from_path
The language of the file at path, by its extension, as pi names it.