bracey.vim
bracey.vim copied to clipboard
SSI support for bracey.vim
Many server implementation allow to have server side scripts run when displaying a webpage.
For example, You can show a header using <!--#include file="header.html" -->
as an html comment.
More information on SSI can be found here: https://www.yourhtmlsource.com/sitemanagement/includes.html
Would it be feasible to implement this in Bracey.vim?
Bracey's static server is intentionally very simple. Re-implementing the breadth features provided by other more complex static servers isn't really worth the effort.
I'm open to a mode where it operates as a proxy though. This would make it possible to use SSI by delegating to another server with this feature. The idea being Bracey could provide some kind of interactive editing on top of any dynamic server, though the implementation details of that are pretty tricky.