Is it possible to display a different .svg image/content in a GitHub readme, depending on which branch is used to view the readme in a browser?
In essence, can one do something like:
if current_path=main then:
display main.svg
elif current_path=other_branch then:
display other_branch.svg
end
in the readme.md?
Such that if one goes to: https://www.github.com/some_user/some_repo/tree/interactive it displays another .svg file than when one goes to: https://www.github.com/some_user/some_repo/tree/non-interactive. (Whilst still not yielding a merge conflict (nor destroying the option to display the right image in the right branch) if a pull request is merged from branch interactive into branch non-interactive).