Comments (6)
I would like to see what that would take and the effects on the core parsing time.
from slim.
Interesting idea. It's definitely something I'd investigate. :)
from slim.
Using a coffee: filter would be cool! A lot of people really like coffee script!
from slim.
Implemented by pull request #44
from slim.
How do you get back to slim, though, after you switch to another template language?
I have a file, index.html.slim, at some point I switch to erb with erb:
because I have a big block of HTML that I don't want to convert.
If I try to switch back to slim, using slim:
I get:
Temple::FilterError at /index.html
Embedded engine slim not found
embedded_engine.rb: in create line 83
I'm using Middleman 3.0.5 FWIW.
For now, I've worked around by just calling an ERB partial.
(Yes, I know that I can also just use HTML now, but then I need to indent it properly)
from slim.
You cannot switch back to slim.
from slim.
Related Issues (20)
- Sponsoring Slim
- Sorbet support HOT 3
- New release HOT 6
- [master] Using a ruby attribute breaks html tag, its attributes and content concatenation HOT 10
- feature request: slimrb to work on directory recursively. HOT 2
- Support of Tailwind Arbitrary Classes HOT 14
- CodeClimate maintinability badge is not working
- Slim 5 no longer working with Middleman: "NameError: uninitialized constant #<Class:0x0000000106bf2320>::ActionView" HOT 20
- Is it possible to release a JavaScript version HOT 1
- uninitialized constant Slim::RailsTemplate (NameError) HOT 5
- How can I set <script> attribute? HOT 6
- Heads up: Tilt lazy loading of slim is being deprecated HOT 5
- Test Rails 7 in CI
- nested output rendering HOT 6
- Setup Rubocop in CI
- Better way to handle boolean attributes? HOT 1
- Rails 7.1 breaks slim partial block rendering when the partial is empty HOT 3
- Weird behavior in rails 7.1 HOT 1
- Undefined method `+' for ActionView::OutputBuffer when using the splat operator HOT 1
- Using uppercase tags for components HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slim.