tilt
tilt copied to clipboard
Generic interface to multiple Ruby template engines
Ruby's coverage library does not support code loaded eval (and similar methods like {class,module,instance}_{eval,exec}). However, it would be nice to be able to get code coverage for your web application...
If this returns true, frozen-string-literal: true is set when compiling the template method. It is false by default, and will need to be manually set to true in the template...
Starting with Tilt 2.0.10, methods defined in a template can't be used later in the template, it seems. Here's a self-contained reproducer that works with Tilt 2.0.9, but not Tilt...
Hello, I started to encounter a special error after upgrading to ruby 2.7.2p137 (`ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux]`) It seems the error happens in very special conditions: Preparation: ```...
Hi folks, first, thanks for all your contribution to this project. It's awesome. Then, I have a question about CommonMarker. Seems CommonMarker support outdated. I need to pass some parse...
Accept `:UNSAFE` options for commonmarker config. Behaviour was changed to SAFE by default: gjtorikian/commonmarker#87 gjtorikian/commonmarker#81
Opal seems to have restructured their code and there no longer seems to be any tilt support baked in. Opal::Processor went away at some point. That is, the following: ```ruby...
See https://github.com/rtomayko/tilt/blob/master/docs/TEMPLATES.md#escape_html--truefalse Supersedes #350
Pug is a JavaScript templating language equivalent to slim, with a similar syntax. But pug is much powerful and featureful with mixins, block and extends (template inheritance), etc. Hopefully there...
A tool I've been writing uses Tilt to manage it template handling, but needs to route method calls to it based on file extension. I was using the keys of...