Add markdown variables aliases
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
This is a markdown template example which explain the basic usage of this template.
|
||||
|
||||
See [rendering of this file here](https://github.com/lowlighter/lowlighter/blob/master/metrics.markdown.full.md).
|
||||
|
||||
## 🈂️ Templating syntax:
|
||||
|
||||
* Regular EJS syntax is supported
|
||||
@@ -9,6 +11,12 @@ This is a markdown template example which explain the basic usage of this templa
|
||||
* `{%` and `%}` can be used as control statements
|
||||
* Use [metrics.lecoq.io](https://metrics.lecoq.io/) with `config.output=json` to see available data
|
||||
* You can also use `config_output: json` in GitHub Actions and/or inspect [metrics](https://github.com/lowlighter/metrics) code to get available data too
|
||||
* Same formatting helpers available in templates can be used too
|
||||
|
||||
```markdown
|
||||
I joined GitHub on `{{ f.date(REGISTRATION_DATE, {dateStyle:"short"}) }}`.
|
||||
I contributed to `{{ REPOSITORIES_CONTRIBUTED_TO }}` repositories and made `{{ COMMITS }}` commits.
|
||||
```
|
||||
|
||||
## 🧩 Markdown plugins
|
||||
|
||||
|
||||
Reference in New Issue
Block a user