GithubHelp home page GithubHelp logo

Comments (5)

wooorm avatar wooorm commented on June 15, 2024
  • How would that space also be removed ('Here' instead of 'Here ')?
  • What if you’d like some to be ignored, some to be included?
  • Could this be solved by using a wrapping component?
    <MyHeading>
    
    ### Never Pause Here
    
    <Chrome />
    </MyHeading>

from mdast-util-toc.

altano avatar altano commented on June 15, 2024

Excellent questions! How would I get the wrapping component to render one way (without phrasing content) during the mdast-util-toc scan and another (with phrasing content) during the actual page rendering?

from mdast-util-toc.

wooorm avatar wooorm commented on June 15, 2024

Well, CSS could do the wrapping component maybe? Display the icon next to the heading?

The question to me is: is the icon part of the heading, or does it belong close to it? Should screenreader users and robots also read the icon as part of the heading?

from mdast-util-toc.

wooorm avatar wooorm commented on June 15, 2024

@altano What do you think re my previous comment?

from mdast-util-toc.

wooorm avatar wooorm commented on June 15, 2024

Going to close this as it’s stranded while not yet clear whether the current behavior is a bug. If someone finds this and has more ideas on this, feel free to open a new issue referencing this one!

from mdast-util-toc.

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.