Spliting result image with multiple images #980
-
This awesome library provides a lot of useful plugins, but in my personal view, when I put them all together in one image, some people could feel a little distracted or the image looks too long. I think it would be great to split this with multiple images into toggle sections like the below example (Images are omitted other than the About me exampleAchievementsRSS FeedsFortunes... and others For this form, it would be great for metrics to generate multiple image options. I'm wondering your opinion. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi ! Thanks a lot for your feedback 👍 You should be able to achieve something similar to what you said by using multiple jobs rather than a single one, and using a different filename so they don't conflict together: # workflow.yml
- uses: lowlighter/metrics@latest
with:
filename: base.svg
- uses: lowlighter/metrics@latest
with:
base: ''
plugin_notable: yes
filename: notable.svg And use something like this in your markdown: <!-- README.md -->
<details>
<summary>Base information</summary>
<img src="/base.svg">
</details>
<details>
<summary>Notable contributions</summary>
<img src="/notable.svg">
</details> Since creating additional jobs may pollute commit history, you can take a look at Configuring output action to avoid it spamming your repositories. It's also possible to achieve something similar by using the Markdown template instead Hope it helps 👍 |
Beta Was this translation helpful? Give feedback.
Hi !
Thanks a lot for your feedback 👍
You should be able to achieve something similar to what you said by using multiple jobs rather than a single one, and using a different filename so they don't conflict together:
And use something like this in your markdown:
Since creating additional jobs may pollute commit histo…