OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Can a local image in a GitHub repository be displayed in a workflow's step summary using markdown?

  • Thread starter Thread starter Peter Hornsby
  • Start date Start date
P

Peter Hornsby

Guest
The GitHub blog post for job Summaries mentions the ability to use markdown for a job's step summary. If you follow the documentation link in the post it states that...

Job summaries support GitHub flavored Markdown, and you can add your Markdown content for a step to the GITHUB_STEP_SUMMARY environment file.

This would imply images are supported, but when I try ![alternate text](relative_path) the alternate text is showed as a working link to the image.

Is it possible to display an image in a GitHub workflow step summary?

For reference: GitHub Flavored Markdown Spec
<p>The <a href="https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/" rel="nofollow noreferrer">GitHub blog post</a> for job Summaries mentions the ability to use markdown for a job's step summary. If you follow the <a href="https://docs.github.com/en/actions/...mands-for-github-actions#adding-a-job-summary" rel="nofollow noreferrer">documentation link</a> in the post it states that...</p>
<blockquote>
<p>Job summaries support GitHub flavored Markdown, and you can add your Markdown content for a step to the GITHUB_STEP_SUMMARY environment file.</p>
</blockquote>
<p>This would imply images are supported, but when I try <code>![alternate text](relative_path)</code> the alternate text is showed as a working link to the image.</p>
<p>Is it possible to display an image in a GitHub workflow step summary?</p>
<p>For reference: <a href="https://github.github.com/gfm/" rel="nofollow noreferrer">GitHub Flavored Markdown Spec</a></p>
Continue reading...
 

Latest posts

Top