text: module.exports = {
    siteMetadata: {
      title: `중원이 블로그`,
      description: `공부한 것들과 개발과 관련된 일들을 기록하기 위한 블로그입니다.`,
      author: `Jungwon`,
      siteUrl: `https://jungwone.github.io/`,
    },
    plugins: [
      `gatsby-plugin-react-helmet`,
      `gatsby-plugin-image`,
      `gatsby-plugin-sass`,
      `gatsby-plugin-catch-links`,
      `gatsby-plugin-sitemap`,
      {
        resolve: `gatsby-plugin-feed`,
        options: {
          query: `
            {
              site {
                siteMetadata {
                  title
                  description
                  siteUrl
                  site_url: siteUrl
                }
              }
            }
          `,
          feeds: [
            {
              serialize: ({ query: { site, allMarkdownRemark } }) => {
                return allMarkdownRemark.edges.map(edge => {
                  return Object.assign({}, edge.node.frontmatter, {
                    description: edge.node.excerpt,
                    date: edge.node.frontmatter.date,
                    url: site.siteMetadata.siteUrl + edge.node.fields.slug,
                    guid: site.siteMetadata.siteUrl + edge.node.fields.slug,
                    custom_elements: [{ "content:encoded": edge.node.html }],
                  })
                })
              },
              query: `
                {
                  allMarkdownRemark(
                    limit:100
                    sort: { order: DESC, fields: [frontmatter___date] },
                  ) {
                    edges {
                      node {
                        excerpt
                        html
                        fields { slug }
                        frontmatter {
                          title
                          date
                        }
                      }
                    }
                  }
                }
              `,
              output: "/rss.xml",
              title: `중원이 블로그`,
            },
          ],
        },
      },
      {
        resolve: "gatsby-plugin-robots-txt",
        options: {
          host: "https://jungwone.github.io",
          sitemap: "https://jungwone.github.io/sitemap/sitemap-index.xml",
          policy: [{ userAgent: "*", allow: "/" }],
        },
      },
      {
        resolve: `gatsby-plugin-disqus`,
        options: {
          shortname: `jungwone`,
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images`,
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/pages`,
        },
      },
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `gatsby-starter-default`,
          short_name: `starter`,
          start_url: `/`,
          background_color: `#663399`,
          theme_color: `#663399`,
          display: `minimal-ui`,
          icon: `src/images/icon.png`, // This path is relative to the root of the site.
        },
      },
      {
        resolve: `gatsby-plugin-emotion`,
        options: {
          // Accepts the following options, all of which are defined by `@emotion/babel-plugin` plugin.
          // The values for each key in this example are the defaults the plugin uses.
          sourceMap: true,
          autoLabel: "dev-only",
          labelFormat: `[local]`,
          cssPropOptimization: true,
        },
      },
      `gatsby-plugin-gatsby-cloud`,
      {
        resolve: `gatsby-transformer-remark`,
        options: {
          plugins: [
            {
              resolve: `gatsby-remark-prismjs`,
              options: {
                inlineCodeMarker: null,
  
                aliases: {},
  
                showLineNumbers: false,
  
                noInlineHighlight: false,
  
                languageExtensions: [
                  {
                    language: "superscript",
                    extend: "javascript",
                    definition: {
                      superscript_types: /(SuperType)/,
                    },
                    insertBefore: {
                      function: {
                        superscript_keywords: /(superif|superelse)/,
                      },
                    },
                  },
                ],
              },
            },
          ],
        },
      },
    ],
  }
  