如何使一篇文章插入外链的css文件而其他文章不受影响? #373
Answered
by
stevenjoezhang
GLORYFeonix
asked this question in
Q&A
-
RT,请大佬们指教 |
Beta Was this translation helpful? Give feedback.
Answered by
stevenjoezhang
Mar 31, 2025
Replies: 1 comment 2 replies
-
在Markdown文档中写一个 <script>
let tag = document.createElement("link");
tag.rel = "stylesheet";
tag.href = url;
document.head.appendChild(tag);
</script> 或者用 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hexo 使用的 Markdown 引擎和样式与 typora 和 vscode 自带的不同,因此无法保证显示效果一致。