Git Product home page Git Product logo

gatsby-remark-emojis's Issues

where's LLAP?

πŸ–– missing, :spock-hand: on slack, :vulcan_salute: here.

Add flag of the european union

Hey!
Just noticed that :eu: is not supported. If you can let me know whats the source of the existing emojis, I can add it :)

gatsby-remark-emojis for gatsby pages

Can I use this plugin for Gatsby Pages?

Current case

I use your plugin for remark emojis in .md source files and it works awesome πŸ‘!

Using with Gatsby Pages

Here's the deal:

In Gatsby project I have src/pages/ folder structure with pages in it, like index.js, about.js, wroted with jsx syntax.
And if I type some text content like :smiley: it'll render as :smiley: rather then πŸ˜ƒ
So, the question is: how we can work with gatsby pages using this plugin?
Maybe it's possible to do that?

I can help with trying to make this feature works. Feel free to get in touch ☺️

Does gatsby-remark-emojis work with gatsby-plugin-mdx?

Hi, I am struggling to get this plugin working with gatsby-plugin-mdx.

Is this option actually supported?

const gatsbyRemarkPlugins = [
  {
    resolve: `gatsby-remark-katex`,
    options: { macros, throwOnError: false },
  },
  `gatsby-remark-images`,
  {
    resolve: `gatsby-remark-emojis`,
    options: {
      // Deactivate the plugin globally (default: true)
      active: true,
      // Add a custom css class
      class: "emoji-icon",
      // Select the size (available size: 16, 24, 32, 64)
      size: 64,
      // Add custom styles
      styles: {
        display: "inline",
        margin: "0",
        "margin-top": "1px",
        position: "relative",
        top: "5px",
        width: "25px",
      },
    },
  },
]

...

module.exports = {
...
  plugins: [
...
   {
      resolve: `gatsby-plugin-mdx`,
      options: {
        defaultLayouts: {
          default: require.resolve(`./src/components/layout.jsx`),
        },
        gatsbyRemarkPlugins,
      },
    },
...
  ],
}

Thanks.

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.