GithubHelp home page GithubHelp logo

pauliescanlon / gatsby-remark-sticky-table Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 0.0 15.33 MB

A Gatsby remark plugin that creates sticky header tables for markdown 🧲

Home Page: https://gatsby-remark-sticky-table.netlify.com/

JavaScript 100.00%
gatsby gatsbyjs gatsby-plugin gatsby-remark gatsby-remark-sticky-table

gatsby-remark-sticky-table's Issues

Github stars badges within table cell doesn't work

Hi @PaulieScanlon , thx for open-sourcing this plug-in, looks really nice!

I'm a total newbie to web, React and Gatsby, excuse me if I'm asking stupid questions.
I have a markdown page transformed by remark, where a table has some cells using the Github stars badge with this syntax:
[![GitHub stars](https://img.shields.io/github/stars/Naereen/StrapDown.js.svg?style=social&label=Star&maxAge=2592000)](https://GitHub.com/Naereen/StrapDown.js/stargazers/)
which I copied from here.

Without applying sticky-table, the cell works fine for showing the badge, but the table has no borders rendered.
(I suppose this is due to gatsby-transformer-remark 's bug since it's supposed to support Github style? or it needs extra css to work!?)
Now after applying sticky-table, the cell rendered into text "GitHub stars".

Is this somewhat a missed corner case in sticky-table's code? Any plan to patch if so?
(I would have try to write a fix and do PR if I were capable, but since I'm so new to web...)
Or is there a work-around I can apply in my code base?

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.