Skip to content

Commit

Permalink
request #14234: Improve syntax highlighting of Vue SFC files in the G…
Browse files Browse the repository at this point in the history
…it web browsing view

PrismJS, the library Tuleap uses to do the syntax highlighting,
does not a have a support for the Vue SFC syntax [0] but marking
Vue SFC file as "markup" seems to lead to a better highlighting
at least in common cases.

[0] PrismJS/prism#1665

Change-Id: I88543b9fd6c41bf660c4c94567a9e51690b49f67
  • Loading branch information
LeSuisse committed Nov 27, 2019
1 parent 57e9c38 commit e57a8b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class LanguageDetectorForPrismJS
'bat' => 'batch',
'h' => 'c',
'tex' => 'latex',
'vue' => 'javascript',
'vue' => 'markup',
'mkd' => 'markdown',
'yml' => 'yaml',
'cmake.in' => 'cmake'
Expand Down

0 comments on commit e57a8b4

Please sign in to comment.