Skip to content

Commit 803219b

Browse files
committed
Add syntax highlighting for BibTeX to documentation
1 parent c6d68ed commit 803219b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

M2/Macaulay2/editors/prism/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
import Prism from 'prismjs';
22
import macaulay2 from './macaulay2.js';
3+
import 'prismjs-bibtex';
34
import "./prism-M2.css";

M2/Macaulay2/editors/prism/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"build": "webpack"
44
},
55
"dependencies": {
6-
"prismjs": "^1.29.0"
6+
"prismjs": "^1.29.0",
7+
"prismjs-bibtex": "^2.1.0"
78
},
89
"devDependencies": {
910
"css-loader": "^7.1.2",

M2/Macaulay2/packages/Style/prism.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)