-
Notifications
You must be signed in to change notification settings - Fork 230
Closed
Description
Opening this here as this is the grammar used by GitHub's Linguist for Vue syntax highlighting on GitHub.
Using single quotes, Jade/Pug doesn't highlight at all and SCSS @extend
and variables behave strangely as it uses the CSS grammar:
<template lang='jade'>
div
if hello
p Hello
else
p World
</template>
<style lang='scss'>
@import '~styles/main.scss';
section[role='alert'] {
@extend .alert;
background: $white;
}
</style>
Using double quotes they are fine:
<template lang="jade">
div
if hello
p Hello
else
p World
</template>
<style lang="scss">
@import '~styles/main.scss';
section[role='alert'] {
@extend .alert;
background: $white;
}
</style>
Metadata
Metadata
Assignees
Labels
No labels