Code Monkey home page Code Monkey logo

Comments (5)

tylersticka avatar tylersticka commented on August 29, 2024 1

@mrgerardorodriguez Certainly!

Basically, I'm wondering if it would be beneficial to include some sort of <a> for the permalink to allow for easy copy-paste of the hash URLs.

I know we've already got text and labels and all sorts of stuff going on, so it may or may not be a good fit for something like this:

screen shot 2016-04-21 at 3 41 54 pm

It could be as simple as linking the pattern headings and creating a utility to override link styles until hover...

.u-hiddenLink:not(:hover, :focus, :active) {
  color: inherit !important;
  text-decoration: none !important;
}

Anyway, just some ideas!

from drizzle.

gerardo-rodriguez avatar gerardo-rodriguez commented on August 29, 2024

@tylersticka @erikjung

Trying to work through this one. My thought was to do something like this:

<h2 id="{{data.name}}">
  {{data.name}}
</h2>

The issue with this is the data.name could be something like List Elements. It should instead be list-elements. I imagine I need to create a handlebars helper to take care of this? If so, where does the helper get registered? I don't see (within Drizzle) any Handlebars helpers registered at all. Looking for some guidance. 😄

from drizzle.

tylersticka avatar tylersticka commented on August 29, 2024

@mrgerardorodriguez I believe we manage that in a separate repo, and I think there may already be a helper for it: https://github.com/cloudfour/core-hbs-helpers/blob/master/lib/toSlug.js

from drizzle.

gerardo-rodriguez avatar gerardo-rodriguez commented on August 29, 2024

@tylersticka Bahahaha! Well then, thank you! 😁

from drizzle.

gerardo-rodriguez avatar gerardo-rodriguez commented on August 29, 2024

and perhaps some anchor helpers

Can you expand on this @tylersticka?

from drizzle.

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.