GithubHelp home page GithubHelp logo

Comments (5)

Synchro avatar Synchro commented on July 21, 2024

I see holder.js is already in the javascripts.hbs include, so, depending on your environment, this should do the trick:
Search: \(http://placehold.it/(.*)/(.*)/(.*)&text=(.*)\)
Replace: (holder.js/\$1/#\$2:#\$3/text:\$4)
but you probably already know that...

from less-docs.

jonschlinkert avatar jonschlinkert commented on July 21, 2024

thanks! I put this as a reminder to lookup the holder.js conventions and how they mapped over to placehold.it. I appreciate the ready-to-use regex!

from less-docs.

jonschlinkert avatar jonschlinkert commented on July 21, 2024

btw, it must have taken you forever to setup those images. it's awesome that you did that

from less-docs.

Synchro avatar Synchro commented on July 21, 2024

As I recall I came up with the mechanism, but someone else actually did the docs following my suggestion. The key was that we needed a plain markdown-compatible solution, which holder.js isn't. Things have moved on so we are not constrained by that any more.

from less-docs.

Synchro avatar Synchro commented on July 21, 2024

The regex replacement I posted before was a bit wrong, so I corrected it, and I figured I may as well apply it now that I've got a local build working.

from less-docs.

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.