Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/400.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 我可以在不直接编辑的情况下将特性插入标记文件吗?_Javascript_Markdown - Fatal编程技术网

Javascript 我可以在不直接编辑的情况下将特性插入标记文件吗?

Javascript 我可以在不直接编辑的情况下将特性插入标记文件吗?,javascript,markdown,Javascript,Markdown,我正在使用NextJS创建一个简单的博客,我的帖子位于项目内部的\u posts文件夹中。它们中的每一个都是具有以下结构的.md文件: --- title: Hello slug: hello-post createdAt: 10-10-2020 short: description here cover <- the problem is here --- ...Rest of the post here --- 标题:你好 斯拉格:你好,波斯特 创建日期:10-10-2020 短:

我正在使用NextJS创建一个简单的博客,我的帖子位于项目内部的
\u posts
文件夹中。它们中的每一个都是具有以下结构的
.md
文件:

---
title: Hello
slug: hello-post
createdAt: 10-10-2020
short: description here
cover <- the problem is here
---

...Rest of the post here
---
标题:你好
斯拉格:你好,波斯特
创建日期:10-10-2020
短:描述在这里
盖