Add a new {% navbarextra %} block

My use case for this block is to add an extra "Try it now" link for my library which can be run in the browser. I want it to appear at the end of the other navbar links, but before the search box.