Add features section

This commit is contained in:
lowlighter
2021-05-18 23:55:13 +02:00
parent 5627ef434d
commit 2a701caa4f
4 changed files with 17 additions and 4 deletions

View File

@@ -2,6 +2,6 @@
![Build](https://github.com/lowlighter/metrics/workflows/Build/badge.svg) [![Metrics (examples)](https://github.com/lowlighter/lowlighter/actions/workflows/metrics.yml/badge.svg)](https://github.com/lowlighter/lowlighter/actions/workflows/metrics.yml)
<% for (const partial of ["introduction", "shared", "setup", "documentation", "license", "references"]) { -%>
<% for (const partial of ["introduction", "features", "shared", "setup", "documentation", "license", "references"]) { -%>
<%- await include(`/partials/${partial}.md`) %>
<% } %>

9
.github/readme/partials/features.md vendored Normal file
View File

@@ -0,0 +1,9 @@
## 🐙 Features
* Create infographics from **<%= Object.entries(plugins).filter(([key, value]) => (value)&&(!["base", "core"].includes(key))).length %> plugins**, **<%= Object.entries(templates).filter(([key, value]) => (value)&&(!["community"].includes(key))).length %> templates** and **<%= Object.entries(descriptor.inputs).length %> options**!
* Even more **customization** with [community templates](source/templates/community) or by [forking this repository](https://github.com/lowlighter/metrics/network/members) and editing HTML/CSS/EJS
* Support **users** and **organizations** accounts, and even **repositories**!
* Save your metrics as **images** (SVG, PNG or JPG), **markdown**, **PDF** or **JSON**!
* Upload them through commits, pull request and gists, or handle output manually
* Test it live on [metrics.lecoq.io](https://metrics.lecoq.io)!
* Get a quick overview of any user with [✨ metrics insights](https://metrics.lecoq.io/about)