您可以复制下面的 yaml 代码,并将其用作示例页面的前置 matter。
您可以将此 URL 粘贴到 github 问题中,以便在提交错误或问题时分享您的设置。
Handlebars
模板
{{! This comment will not show up in the output}}
<!-- This comment will show up as HTML-comment -->
{{!-- This comment may contain mustaches like }} --}}
准备脚本
// Handlebars.registerHelper('loud', function(string) {
// return string.toUpperCase()
// });
输入
{}
输出
<!-- This comment will show up as HTML-comment -->