Markdown 是一种轻量级的「标记语言」,它的优点很多,目前深受写作爱好者喜爱。对于HTML语言而言,Markdown简单的多,它能写出结构和排版友好的文档,而且学习成本并不高,主要使用的标记也只有十几个。熟悉Markdown的语法后,会感受到它的方便和优雅。以下总结了常用的几个命令。
more >>
难道到60岁再去寻找我想要的自由
缺失模块。
1、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
2、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: true
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true