forked from FrontendMasters/bootcamp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
56 lines (56 loc) · 1.42 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
module.exports = {
siteMetadata: {
title: "Frontend Masters Bootcamp",
subtitle: "JavaScript",
description: "Learn JavaScript by building projects with Frontend Masters",
keywords: ["javascript", "coding", "intro", "web development", "front end"]
},
pathPrefix: "/bootcamp",
plugins: [
`gatsby-plugin-remove-trailing-slashes`,
`gatsby-plugin-layout`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/lessons`,
name: "markdown-pages"
}
},
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
`gatsby-remark-autolink-headers`,
`gatsby-remark-copy-linked-files`,
`gatsby-remark-prismjs`,
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 800,
linkImagesToOriginal: true,
sizeByPixelDensity: false
}
}
]
}
},
{
resolve: "gatsby-plugin-klipse",
options: {
klipseSettings: {
selector_eval_js: ".language-javascript",
selector_eval_html: ".language-html",
codemirror_options_in: {
lineWrapping: true,
lineNumbers: true
},
codemirror_options_out: {
lineWrapping: true,
lineNumbers: true
}
}
}
}
]
};