chore: update demo entry with code highlighting and bump dependencies

This commit is contained in:
Mathias Schopmans
2025-03-03 16:41:42 +01:00
parent 953432c9ca
commit 3315d8ca50
3 changed files with 29 additions and 21 deletions

View File

@@ -6,3 +6,9 @@ tags: [coding]
---
This is a demo entry. It is used to show how a radar item is written in Markdown format. The meta header is used to define the attributes of the item. The content of the file is used as the description of the item.
```tsx
// code higlighting works too
const var = 'Hello World!'
console.log(var)
```

36
package-lock.json generated
View File

@@ -22,13 +22,13 @@
"clsx": "^2.1.1",
"eslint": "^8.57.0",
"eslint-config-next": "14.2.4",
"fuse.js": "^7.0.0",
"fuse.js": "^7.1.0",
"gray-matter": "^4.0.3",
"highlight.js": "^11.9.0",
"highlight.js": "^11.11.1",
"husky": "^9.1.7",
"lint-staged": "^15.4.3",
"marked": "^13.0.1",
"marked-highlight": "^2.1.3",
"marked": "^15.0.7",
"marked-highlight": "^2.2.1",
"next": "14.2.4",
"postcss-nested": "^6.0.1",
"postcss-preset-env": "^9.5.14",
@@ -5300,10 +5300,11 @@
}
},
"node_modules/fuse.js": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-7.0.0.tgz",
"integrity": "sha512-14F4hBIxqKvD4Zz/XjDc3y94mNZN6pRv3U13Udo0lNLCWRBUsrMv2xwcF/y/Z5sV6+FQW+/ow68cHpm4sunt8Q==",
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-7.1.0.tgz",
"integrity": "sha512-trLf4SzuuUxfusZADLINj+dE8clK1frKdmqiJNb1Es75fmI5oY6X2mxLVUciLLjxqw/xr72Dhy+lER6dGd02FQ==",
"dev": true,
"license": "Apache-2.0",
"engines": {
"node": ">=10"
}
@@ -5683,10 +5684,11 @@
}
},
"node_modules/highlight.js": {
"version": "11.9.0",
"resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.9.0.tgz",
"integrity": "sha512-fJ7cW7fQGCYAkgv4CPfwFHrfd/cLS4Hau96JuJ+ZTOWhjnhoeN1ub1tFmALm/+lW5z4WCAuAV9bm05AP0mS6Gw==",
"version": "11.11.1",
"resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.11.1.tgz",
"integrity": "sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==",
"dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">=12.0.0"
}
@@ -6819,9 +6821,9 @@
}
},
"node_modules/marked": {
"version": "13.0.1",
"resolved": "https://registry.npmjs.org/marked/-/marked-13.0.1.tgz",
"integrity": "sha512-7kBohS6GrZKvCsNXZyVVXSW7/hGBHe49ng99YPkDCckSUrrG7MSFLCexsRxptzOmyW2eT5dySh4Md1V6my52fA==",
"version": "15.0.7",
"resolved": "https://registry.npmjs.org/marked/-/marked-15.0.7.tgz",
"integrity": "sha512-dgLIeKGLx5FwziAnsk4ONoGwHwGPJzselimvlVskE9XLN4Orv9u2VA3GWw/lYUqjfA0rUT/6fqKwfZJapP9BEg==",
"dev": true,
"license": "MIT",
"bin": {
@@ -6832,13 +6834,13 @@
}
},
"node_modules/marked-highlight": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/marked-highlight/-/marked-highlight-2.1.3.tgz",
"integrity": "sha512-t35JWm2u8HanOJ+gSJBAYQ0Jgr3vy+gl7ORAXN8bSEQFHl5FYXH0A7YXVMrfhmKaSuBSy6LidXECn3U9Qv/dHA==",
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/marked-highlight/-/marked-highlight-2.2.1.tgz",
"integrity": "sha512-SiCIeEiQbs9TxGwle9/OwbOejHCZsohQRaNTY2u8euEXYt2rYUFoiImUirThU3Gd/o6Q1gHGtH9qloHlbJpNIA==",
"dev": true,
"license": "MIT",
"peerDependencies": {
"marked": ">=4 <14"
"marked": ">=4 <16"
}
},
"node_modules/meow": {

View File

@@ -26,13 +26,13 @@
"clsx": "^2.1.1",
"eslint": "^8.57.0",
"eslint-config-next": "14.2.4",
"fuse.js": "^7.0.0",
"fuse.js": "^7.1.0",
"gray-matter": "^4.0.3",
"highlight.js": "^11.9.0",
"highlight.js": "^11.11.1",
"husky": "^9.1.7",
"lint-staged": "^15.4.3",
"marked": "^13.0.1",
"marked-highlight": "^2.1.3",
"marked": "^15.0.7",
"marked-highlight": "^2.2.1",
"next": "14.2.4",
"postcss-nested": "^6.0.1",
"postcss-preset-env": "^9.5.14",