Skip to content

Commit b2c935a

Browse files
committed
Detect Twig extension
1 parent 8fbe910 commit b2c935a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SyncReadmeExamples.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ private function getLanguageFromExtension(string $filePath) : string
294294
'md', 'markdown' => 'markdown',
295295
'html', 'htm' => 'html',
296296
'css' => 'css',
297+
'twig' => 'twig',
297298
'scss', 'sass' => 'scss',
298299
default => '',
299300
};

0 commit comments

Comments
 (0)