Skip to content

Commit

Permalink
Provide default syntaxes for abbreviation preview
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeche committed Jan 26, 2022
1 parent cee5d34 commit 494283a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tracker/AbbreviationPreviewWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export default class AbbreviationPreviewWidget extends WidgetType {
doc: this.value,
extensions: [
defaultHighlightStyle.fallback,
this.syntax === 'css' ? css() : html(),
this.getExtensions()
]
}),
Expand Down

0 comments on commit 494283a

Please sign in to comment.