Search code examples
audiogithubreadme

Add audio in Github readme.md


Is there a way to add an audio bar in the Github readme.md? I want to be able to play a certain mp3 file directly through the readme.md, rather than be directed to some soundcloud or youtube link.


Solution

  • Update May 2021: as I already reported in "How to embed a video into GitHub README.md?", "Video uploads now is generally available"

    video upload


    Original answer 20217:

    No, as I documented before, an <audio> element (or video) is not supported in GitHub Markdown.

    For video, a workaround is to use an animated GIF, but for audio, having a placeholder linking to the actual audio seems to be the only way.