Files
metrics/source/templates/markdown/README.md
2021-04-06 23:05:41 +02:00

36 lines
1.2 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### 📒 Markdown <sup>🚧 v3.7</sup>
⚠️ This feature is still under active developement and may not be functional yet
Markdown template can render a **markdown template** by interpreting **templating brackets** `{{` and `}}`.
<table>
<td align="center">
⚠️ This feature is still under active developement and may not be functional yet
<img width="900" height="1" alt="">
</td>
</table>
It can be used to render custom markdown which include data gathered by metrics.
Unlike SVG templates, it is possible to include revelant hyperlinks since it'll be rendered as regular markdown.
You can even mix it with SVG plugins for even more customization.
See [example.md](/source/templates/markdown/example.md) for a markdown template example.
> Note that available data still depends on which plugins have been enabled.
> You may need to handle errors and setup plugins correctly in order to access to their output data.
#### Examples workflows
```yaml
- uses: lowlighter/metrics@latest
with:
# ... other options
template: markdown
filename: README.md # Output file
markdown: TEMPLATE.md # Template file
markdown_cache: .cache # Cache folder
config_output: markdown # Output as markdown file
```