I am looking to add effects used in Github Markdown syntax into the command line. Take, for example, this string.
`This` is an `example` of Markdown `code snippets.`
I want to change every first backtick to—let's say—FOO but change every other backtick to BAR. How can I do with this in sed?