Git Product home page Git Product logo

greenlight's Issues

add pagination functionality to posts

When a user creates a folder in /content/blog/ they can add metadata that indexes the post number and allow for pagination within the same post, i.e.:

blogpost page1
blogpost page2
blogpost page3

The UI for this blog post would have left and right arrows to navigation between pages of the same blogpost

refactor SEO component according to social media and Google tutorial

replace gatsby-remark-prismjs with gatsby-remark-vscode

From the gatsby-plugin-mdx docs:

In some cases, like gatsby-remark-prismjs, it makes more sense to use a library like prism-react-renderer to render codeblocks using a React component.

https://www.gatsbyjs.com/plugins/gatsby-plugin-mdx/
https://github.com/FormidableLabs/prism-react-renderer

However the vscode plugin seems to have even better syntax highlighting and customization
https://www.gatsbyjs.com/plugins/gatsby-remark-vscode/?=syntax-highlighting

gatsby-remark-prismjs is not being applied correctly once gatsby-remark-images was added to the configuration.

A different solution would be to get the configuration to work with both plugins correctly

create thumbnails for visualizations using createRemoteFileNode

The process is explained here: https://www.gatsbyjs.com/docs/how-to/images-and-media/preprocessing-external-images/

This would allow users to embed visualizations and then let the node environment generate thumbnails (later optimized via sharp) to display them on the page until the data visualization loads and becomes interactive.

Thumbnails can be obtained in the same way as PDFs as outlined in this blog post: https://www.dataplusscience.com/TableauBatchPDF.html

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.