recognize jinja2 file extensions as HTML
This commit is contained in:
parent
906184cd88
commit
146a959747
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@ log = logging.getLogger(__name__)
|
|||
# force file name extensions to be recognized as a certain language
|
||||
EXTENSIONS = {
|
||||
'md': 'Markdown',
|
||||
'j2': 'HTML',
|
||||
}
|
||||
TRANSLATIONS = {
|
||||
'CSS+Genshi Text': 'CSS',
|
||||
|
@ -35,6 +36,7 @@ TRANSLATIONS = {
|
|||
'JavaScript+Genshi Text': 'JavaScript',
|
||||
'JavaScript+Lasso': 'JavaScript',
|
||||
'Perl6': 'Perl',
|
||||
'RHTML': 'HTML',
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue