1
0
mirror of synced 2025-12-26 14:02:45 -05:00
Files
docs/data/variables/command_line.yml
Vanessa Yuen 3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00

12 lines
608 B
YAML

# Use this variable wherever backticks are necessary: https://github.com/github/docs-internal/pull/1176#discussion-diff-19853931
backticks: >-
{% if currentVersion == "free-pro-team@latest" %}github.com{% else %}[hostname]{% endif %}
# Use this variable within codeblocks (because it includes HTML! Which only renders in shell codeblocks!)
codeblock: >-
{% if currentVersion == "free-pro-team@latest" %}github.com{% else %}<em>hostname</em>{% endif %}
# GitHub URL example
git_url_example: >-
https://{% if currentVersion == "free-pro-team@latest" %}github.com{% else %}github.example.com{% endif %}