Versioning binary files is a wasteful, but people still frequently need to do it (or at least put a static, unchanging PDF into a repository). For example, I might get set of feature requirements in PDF form and include that in my repository just so anyone who clones it can have the same requirements file that I do.
In cases where you have to include a PDF, it's very helpful to have it be viewable inline on a page.
In cases where you have to include a PDF, it's very helpful to have it be viewable inline on a page.