Giter VIP home page Giter VIP logo

Comments (3)

bcoughlan avatar bcoughlan commented on July 18, 2024

There's no feature in HamlPy to do this that I'm aware of. It's the first time I've come across it (and seems like a where-have-you-been-all-my-life feature!)

I'm quite busy myself over the next few weeks but if I find time I'll have a go at implementing it. You're welcome to do so yourself of course, just let me know so that we don't end up working on the same thing.

from hamlpy.

harryfk avatar harryfk commented on July 18, 2024

Hey again and thanks for the quick reply. As much as I want to help you, the coming weeks are pretty busy for me as well and I won’t have the time to look into it. I found a solution for the meantime though:

Just in case anyone else is struggling with this in Django … I found out you can achieve similar output by using a spaceless block: https://docs.djangoproject.com/en/1.3/ref/templates/builtins/#spaceless

Still, the < and > operators in HAML allow more fine-grained control – but the spaceless block will do just fine until you can find the time to implement it. No rush. Thanks again for your effort!

from hamlpy.

bcoughlan avatar bcoughlan commented on July 18, 2024

That should do it.

from hamlpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.