This repository has been archived by the owner on Jun 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
58 lines (56 loc) · 1.76 KB
/
gatsby-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
/* Your site config here */
siteMetadata: { /*https://www.gatsbyjs.org/docs/add-seo-component/ https://www.gatsbyjs.org/docs/add-page-metadata/ */
title: `FabricJS`,
description: 'FabricJS is a HTML5 canvas library offering an interactive object model for drawing graphics while also being able to parse SVG',
url: 'https://fabricjs.com',/* No trailing slash allowed!*/
baseUrl: '',
author: 'Nimish Rajwade',
/*image: "/images/snape.jpg", // Path to your image you placed in the 'static' folder*/
twitterUsername: "@fabricjs"
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
name: `pages`,
path: `${__dirname}/src/pages`,
}
},
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
/*`gatsby-remark-copy-linked-files`,*/ /*for copying files linked inside md to the distribution folder, for eg pdf files or any such attachments*/
{
resolve: `gatsby-remark-images`, /*for processing the images mentioned in md files using md syntax*/
options: {
maxWidth: 800,
backgroundColor: 'none'
}
},
{
resolve: `gatsby-remark-autolink-headers`, /*would create anchor tags for the headers H2, H3 etc within the md file*/
options: {
/*offsetY: `170`,*/
icon: '',
/*className: `subTopicHeader`,*/
removeAccents: true,
maintainCase: false,
isIconAfterHeader: true
},
}
]
}
},
`gatsby-plugin-react-helmet`
]
}
/*Autolinking relative links within markdown -- https://www.gatsbyjs.org/packages/gatsby-remark-autolink-headers/*/