Skip to content

Commit

Permalink
fix: Add code block syntax highlighting
Browse files Browse the repository at this point in the history
These styles are not bundled in @appland/components. As a result,
they're included in this project.
  • Loading branch information
dustinbyrne committed Jan 18, 2024
1 parent 8a6d17e commit 0738ad1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@
"bootstrap": "^4.5.3",
"bootstrap-autocomplete": "^2.3.7",
"diff": "^5.1.0",
"highlight.js": "^11.9.0",
"jquery": "^3.5.1",
"js-yaml": "^4.1.0",
"popper.js": "^1.16.1",
Expand Down
1 change: 1 addition & 0 deletions web/src/chatSearchView.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Vue from 'vue';
import { VChatSearch } from '@appland/components';
import MessagePublisher from './messagePublisher';
import handleAppMapMessages from './handleAppMapMessages';
import 'highlight.js/styles/base16/snazzy.css';

export default function mountChatSearchView() {
const vscode = window.acquireVsCodeApi();
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3182,6 +3182,7 @@ __metadata:
eslint-plugin-prettier: ^3.4.0
fs-extra: ^10.1.0
glob: ^7.2.3
highlight.js: ^11.9.0
ignore: ^5.1.8
jquery: ^3.5.1
js-yaml: ^4.1.0
Expand Down

0 comments on commit 0738ad1

Please sign in to comment.