我正在使用Gulp + Gulpsmith + Metalsmith创建我的网站。
metalsmith_markdown将我的HTML呈现如下:
# This is an H1到<h1 id="this-is-an-h1">This is an H1</h1>。为什么要渲染那个'id‘标签?
为什么会这样?
下面是我的Gulpfile.js中处理减价呈现的部分
.use(markdown({
gfm: true,
tables: true,
breaks: false,
pedantic: false,
sanitize: true,
smartLists: true,
smartypants: true
}))https://stackoverflow.com/questions/26411940
复制相似问题