我在我的next.js项目中使用了标记:
我有多个.md文件
我安装了:备注、备注-HTML和灰质
现在,我想更改段落/p标签的字体大小。我见过其他StackOverflow文章说内联-CSS应该在.md文件中工作,但在我的例子中不起作用。我试过这样的方法:
<p style="font-size: 14px">Lorem ipsum dolor</p>
和
<font size="3"> This is my text number 3</font>
有什么建议吗?
我已经在我的next.js应用程序中安装了node-sass,并尝试通过在_app.js组件中导入‘../style/style.scss’;来导入我的全局scss文件,但是我得到了这个错误:
Global CSS cannot be imported from files other than your Custom <App>. Please move all global CSS imports to pages\_app.js. Or convert the import to Component-Level CSS (CSS Modules).
Read more: ht