View html file in repository

Hello,

I have a .html file in a repository, and would like to display it, and be able to link to it, similarly as you can link to the raw of a file. I think it could be done using renderes, but I’m not sure what exactly I should add as a renderer.

Any pointers are appreciated.

It’s not supported to render a html file directly. But if you really want to do that, you can change your configuration file to add a renderer for .html. It’s not recommended because it may causes some security problem.

Is it possible to somehow limit .html rendering to a single repo?

It’s not supported currently.

I’ve experimented with html rendering, but it’s not exactly what I’m looking for. Is there a way to influence the rendering of raw files? So that when the “raw” version of an html file is displayed, it is not wrapped in to and

 tags? Or should I just throw together something in JS, taht gets the data from the API and displays it?