Allow raw HTML in readme generators
This commit is contained in:
@@ -6,5 +6,5 @@ See their respective documentation for more informations about how to setup them
|
|||||||
<% if (previous !== categorie) { previous = categorie -%>
|
<% if (previous !== categorie) { previous = categorie -%>
|
||||||
* **<%= `${categorie.charAt(0).toLocaleUpperCase()}${categorie.substring(1)}` %>**
|
* **<%= `${categorie.charAt(0).toLocaleUpperCase()}${categorie.substring(1)}` %>**
|
||||||
<% } -%>
|
<% } -%>
|
||||||
* [<%= name %>](/source/plugins/<%= plugin %>/README.md)<%# -%>
|
* [<%- name %>](/source/plugins/<%= plugin %>/README.md)<%# -%>
|
||||||
<% }} %>
|
<% }} %>
|
||||||
|
|||||||
@@ -3,5 +3,5 @@
|
|||||||
Templates lets you change general appearance of rendered metrics.
|
Templates lets you change general appearance of rendered metrics.
|
||||||
See their respective documentation for more informations about how to setup them:
|
See their respective documentation for more informations about how to setup them:
|
||||||
<% for (const [template, {name}] of Object.entries(templates).filter(([key, value]) => value)) { %>
|
<% for (const [template, {name}] of Object.entries(templates).filter(([key, value]) => value)) { %>
|
||||||
* [<%= name %>](/source/templates/<%= template %>/README.md)<%# -%>
|
* [<%- name %>](/source/templates/<%= template %>/README.md)<%# -%>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|||||||
2
.github/readme/partials/introduction.md
vendored
2
.github/readme/partials/introduction.md
vendored
@@ -71,7 +71,7 @@ And you can customize these heavily with plugins, templates and hundreds of opti
|
|||||||
if (cell === "even") {
|
if (cell === "even") {
|
||||||
-%>
|
-%>
|
||||||
<tr>
|
<tr>
|
||||||
<% } %> <th><a href="source/templates/<%= template %>/README.md"><%= name -%></a></th>
|
<% } %> <th><a href="source/templates/<%= template %>/README.md"><%- name -%></a></th>
|
||||||
<% if (cell === "odd") {
|
<% if (cell === "odd") {
|
||||||
-%> </tr>
|
-%> </tr>
|
||||||
<% }}
|
<% }}
|
||||||
|
|||||||
Reference in New Issue
Block a user