forked from mirror/codesnap.nvim
[Chore] Cleaned up TODO Comments
parent
2db69add1d
commit
5f74fef0ed
|
@ -74,8 +74,6 @@ function App() {
|
||||||
const theme = config?.highlight_theme ?? DEFAULT_THEME;
|
const theme = config?.highlight_theme ?? DEFAULT_THEME;
|
||||||
const cssLink = document.createElement("link");
|
const cssLink = document.createElement("link");
|
||||||
cssLink.rel = "stylesheet";
|
cssLink.rel = "stylesheet";
|
||||||
|
|
||||||
// add a ref to node_modules/highlight.js/styles/{theme}.css so you dont have to get it from the internet
|
|
||||||
cssLink.href = `./styles/${theme}.css`;
|
cssLink.href = `./styles/${theme}.css`;
|
||||||
document.head.appendChild(cssLink);
|
document.head.appendChild(cssLink);
|
||||||
return () => {
|
return () => {
|
||||||
|
|
Loading…
Reference in New Issue