@@ -23,7 +23,7 @@ module.exports = {
23
23
about : {
24
24
title : '개발자 김찬연' ,
25
25
content : [
26
- { key : 0 , value : `수학교육을 전공한 후 좋은 기회가 생겨 개발을 시작했고, 현재는 에듀테크 스타트업 클래스팅에서 ${ currentYear - FIRST_YEAR + 1 } 년째 교육 서비스를 만들고 있습니다. 웹 표준과 새로운 기술 동향에 관심이 많습니다.` } ,
26
+ { key : 0 , value : `수학교육을 전공한 후 창업 공부를 하다가 개발을 시작했고, 현재는 에듀테크 스타트업 클래스팅에서 ${ currentYear - FIRST_YEAR + 1 } 년째 교육 서비스를 만들고 있습니다. 웹 표준과 새로운 기술 동향에 관심이 많습니다.` } ,
27
27
{ key : 1 , value : '\n' } ,
28
28
{ key : 2 , value : '음, 그런데 무슨 내용을 더 써야할 지 아직 모르겠.. 나중에 천천히 채워넣도록 하겠습니다. 그럼 이만! 😆' } ,
29
29
] ,
@@ -33,35 +33,11 @@ module.exports = {
33
33
plugins : [
34
34
'gatsby-plugin-emotion' ,
35
35
'gatsby-plugin-lodash' ,
36
- 'gatsby-plugin-mdx' ,
37
- 'gatsby-plugin-react-helmet' ,
38
- 'gatsby-plugin-sharp' ,
39
- 'gatsby-plugin-sitemap' ,
40
- 'gatsby-plugin-typescript' ,
41
- {
42
- resolve : 'gatsby-plugin-google-analytics' ,
43
- options : {
44
- trackingId : 'YOUR_GOOGLE_ANALYTICS_TRACKING_ID' ,
45
- } ,
46
- } ,
47
- {
48
- resolve : 'gatsby-source-filesystem' ,
49
- options : {
50
- name : 'assets' ,
51
- path : `${ __dirname } /src/assets/` ,
52
- } ,
53
- } ,
54
36
{
55
- resolve : 'gatsby-source-filesystem ' ,
37
+ resolve : 'gatsby-plugin-mdx ' ,
56
38
options : {
57
- name : 'posts' ,
58
- path : `${ __dirname } /src/posts/` ,
59
- } ,
60
- } ,
61
- {
62
- resolve : 'gatsby-transformer-remark' ,
63
- options : {
64
- plugins : [
39
+ extensions : [ '.mdx' , '.md' ] ,
40
+ gatsbyRemarkPlugins : [
65
41
{
66
42
resolve : 'gatsby-remark-images' ,
67
43
options : {
@@ -70,30 +46,60 @@ module.exports = {
70
46
} ,
71
47
} ,
72
48
{
73
- resolve : 'gatsby-remark-images-medium-zoom ' ,
49
+ resolve : 'gatsby-remark-responsive-iframe ' ,
74
50
options : {
75
- margin : 36 ,
76
- scrollOffset : 0 ,
51
+ wrapperStyle : 'margin-bottom: 1.0725rem' ,
77
52
} ,
78
53
} ,
79
54
{
80
- resolve : 'gatsby-remark-responsive-iframe ' ,
55
+ resolve : 'gatsby-remark-autolink-headers ' ,
81
56
options : {
82
- wrapperStyle : 'margin-bottom: 1.0725rem' ,
57
+ enableCustomId : true ,
58
+ icon : '<svg aria-hidden="true" preserveAspectRatio="xMidYMid meet" height="1em" width="1em" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="icon-7f6730be--text-3f89f380"><g><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></g></svg>' ,
59
+ isIconAfterHeader : true ,
60
+ maintainCase : false ,
83
61
} ,
84
62
} ,
85
63
{
86
64
resolve : 'gatsby-remark-prismjs' ,
87
65
options : {
88
- inlineCodeMarker : '%' ,
66
+ classPrefix : 'language-' ,
67
+ inlineCodeMarker : {
68
+ tsx : 'tsx' ,
69
+ } ,
70
+ showLineNumbers : true ,
71
+ noInlineHighlight : false ,
89
72
} ,
90
73
} ,
91
- 'gatsby-remark-autolink-headers' ,
92
74
'gatsby-remark-copy-linked-files' ,
93
75
'gatsby-remark-smartypants' ,
94
76
] ,
95
77
} ,
96
78
} ,
79
+ 'gatsby-plugin-react-helmet' ,
80
+ 'gatsby-plugin-sharp' ,
81
+ 'gatsby-plugin-sitemap' ,
82
+ 'gatsby-plugin-typescript' ,
83
+ {
84
+ resolve : 'gatsby-plugin-google-analytics' ,
85
+ options : {
86
+ trackingId : 'YOUR_GOOGLE_ANALYTICS_TRACKING_ID' ,
87
+ } ,
88
+ } ,
89
+ {
90
+ resolve : 'gatsby-source-filesystem' ,
91
+ options : {
92
+ name : 'assets' ,
93
+ path : `${ __dirname } /src/assets/` ,
94
+ } ,
95
+ } ,
96
+ {
97
+ resolve : 'gatsby-source-filesystem' ,
98
+ options : {
99
+ name : 'posts' ,
100
+ path : `${ __dirname } /src/posts/` ,
101
+ } ,
102
+ } ,
97
103
'gatsby-remark-autolink-headers' ,
98
104
'gatsby-remark-copy-linked-files' ,
99
105
'gatsby-remark-smartypants' ,
0 commit comments