From 037a6a817cea646645b4b70f5bc64ee094a3f385 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Wed, 7 Apr 2021 00:25:33 +0200 Subject: [PATCH] Allow raw HTML in readme generators --- .github/readme/partials/documentation/plugins.md | 2 +- .github/readme/partials/documentation/templates.md | 2 +- .github/readme/partials/introduction.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/readme/partials/documentation/plugins.md b/.github/readme/partials/documentation/plugins.md index 9771d1d5..dc3cb78b 100644 --- a/.github/readme/partials/documentation/plugins.md +++ b/.github/readme/partials/documentation/plugins.md @@ -6,5 +6,5 @@ See their respective documentation for more informations about how to setup them <% if (previous !== categorie) { previous = categorie -%> * **<%= `${categorie.charAt(0).toLocaleUpperCase()}${categorie.substring(1)}` %>** <% } -%> - * [<%= name %>](/source/plugins/<%= plugin %>/README.md)<%# -%> + * [<%- name %>](/source/plugins/<%= plugin %>/README.md)<%# -%> <% }} %> diff --git a/.github/readme/partials/documentation/templates.md b/.github/readme/partials/documentation/templates.md index 41c1fab8..e8f81d5e 100644 --- a/.github/readme/partials/documentation/templates.md +++ b/.github/readme/partials/documentation/templates.md @@ -3,5 +3,5 @@ Templates lets you change general appearance of rendered metrics. See their respective documentation for more informations about how to setup them: <% for (const [template, {name}] of Object.entries(templates).filter(([key, value]) => value)) { %> -* [<%= name %>](/source/templates/<%= template %>/README.md)<%# -%> +* [<%- name %>](/source/templates/<%= template %>/README.md)<%# -%> <% } %> diff --git a/.github/readme/partials/introduction.md b/.github/readme/partials/introduction.md index 50c23287..1ac9fd02 100644 --- a/.github/readme/partials/introduction.md +++ b/.github/readme/partials/introduction.md @@ -71,7 +71,7 @@ And you can customize these heavily with plugins, templates and hundreds of opti if (cell === "even") { -%>