docs(templates): clarification, fix typos and style

This commit is contained in:
lowlighter
2022-07-04 23:19:25 -04:00
parent 52ca4d04b7
commit 77890c2a7d
6 changed files with 14 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
name: "📗 Classic template" name: 📗 Classic template
description: | description: |
A template mimicking GitHub visual identity. A template mimicking GitHub visual identity.
This is also the default template. This is also the default template.

View File

@@ -159,9 +159,10 @@ It is used to compute height dynamically through a [puppeteer](https://github.co
The default file looks like below: The default file looks like below:
```yaml ```yaml
name: "🖼️ Template name" name: 🖼️ Template name
extends: classic extends: classic
description: Short description description: |
Short description
examples: examples:
default: https://via.placeholder.com/468x60?text=No%20preview%20available default: https://via.placeholder.com/468x60?text=No%20preview%20available
supports: supports:

View File

@@ -1,4 +1,4 @@
name: "📕 Community templates" name: 📕 Community templates
description: | description: |
A template mimicking GitHub visual identity. A template mimicking GitHub visual identity.
This is also the default template. This is also the default template.

View File

@@ -1,5 +1,6 @@
name: "📒 Markdown template" name: 📒 Markdown template
description: A template capable of rendering markdown from a given template file. description: |
A template capable of rendering markdown from a given template file.
examples: examples:
default: https://github.com/lowlighter/metrics/blob/examples/metrics.markdown.png default: https://github.com/lowlighter/metrics/blob/examples/metrics.markdown.png
index: 3 index: 3

View File

@@ -1,5 +1,6 @@
name: "📘 Repository template" name: 📘 Repository template
description: A template mimicking GitHub visual identity and specially crafted for repositories. description: |
A template mimicking GitHub visual identity and specially crafted for repositories.
examples: examples:
default: https://github.com/lowlighter/metrics/blob/examples/metrics.repository.svg default: https://github.com/lowlighter/metrics/blob/examples/metrics.repository.svg
index: 1 index: 1

View File

@@ -1,5 +1,6 @@
name: "📙 Terminal template" name: 📙 Terminal template
description: A template mimicking a SSH session. description: |
A template mimicking a SSH session.
examples: examples:
default: https://github.com/lowlighter/metrics/blob/examples/metrics.terminal.svg default: https://github.com/lowlighter/metrics/blob/examples/metrics.terminal.svg
index: 2 index: 2