豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Skills Exercises Markdown Templates

A collection of templates for use in Skills exercises.

Template Collections

  • /readme/* - templates intended for updating an exercise's root readme file.
  • /step-feedback/* - templates for sharing step progress, grading pass/fail, and congratulations. Typically used for issue comments.

Template Variables

Several templates contain Nunjucks style variable templating. They are intended for use with the skills/action-text-variables or GrantBirki/comment GitHub Actions, both of which support full Nunjucks templating.

Example

hello.md

Hello {{ login }}, nice to meet you!

json input

{
  "login": "${{ github.actor }}"
}

yaml input

login: "${{ github.actor }}"

Tip

See Nunjucks templating documentation for all capabilities like iteration, conditionals, and more.