Add templates metadata (#273)

This commit is contained in:
Simon Lecoq
2021-04-27 22:53:15 +02:00
committed by GitHub
parent c4af6f67fd
commit 1ca0c9973f
17 changed files with 142 additions and 17 deletions

View File

@@ -1,4 +1,4 @@
### 📗 Classic
### 📗 Classic template
Default template, mimicking GitHub visual identity.
@@ -11,6 +11,8 @@ Default template, mimicking GitHub visual identity.
#### Examples workflows
[➡️ Supported formats and inputs](metadata.yml)
```yaml
- uses: lowlighter/metrics@latest
with:

View File

@@ -0,0 +1,10 @@
name: "📗 Classic template"
index: 0
supports:
- user
- organization
formats:
- svg
- png
- jpeg
- json

View File

@@ -1,4 +1,4 @@
### 📒 Markdown
### 📒 Markdown template
Markdown template can render a **markdown template** by interpreting **templating brackets** `{{` and `}}`.
@@ -24,6 +24,8 @@ For convenience, several useful properties are aliased in [/source/templates/mar
#### Examples workflows
[➡️ Supported formats and inputs](metadata.yml)
```yaml
# Markdown output
- uses: lowlighter/metrics@latest
@@ -33,7 +35,6 @@ For convenience, several useful properties are aliased in [/source/templates/mar
filename: README.md # Output file
markdown: TEMPLATE.md # Template file
markdown_cache: .cache # Cache folder
config_output: markdown # Output as markdown file
```
```yaml

View File

@@ -0,0 +1,9 @@
name: "📒 Markdown template"
index: 3
supports:
- user
- organization
formats:
- markdown
- markdown-pdf
- json

View File

@@ -1,4 +1,4 @@
### 📘 Repository
### 📘 Repository template
Template crafted for repositories, mimicking GitHub visual identity.
@@ -11,6 +11,8 @@ Template crafted for repositories, mimicking GitHub visual identity.
#### Examples workflows
[➡️ Supported formats and inputs](metadata.yml)
```yaml
- uses: lowlighter/metrics@latest
with:

View File

@@ -0,0 +1,9 @@
name: "📘 Repository template"
index: 1
supports:
- repository
formats:
- svg
- png
- jpeg
- json

View File

@@ -1,4 +1,4 @@
### 📙 Terminal
### 📙 Terminal template
Terminal template, mimicking a SSH session.
@@ -11,6 +11,8 @@ Terminal template, mimicking a SSH session.
#### Examples workflows
[➡️ Supported formats and inputs](metadata.yml)
```yaml
- uses: lowlighter/metrics@latest
with:

View File

@@ -0,0 +1,10 @@
name: "📙 Terminal template"
index: 2
supports:
- user
- organization
formats:
- svg
- png
- jpeg
- json