File tree Expand file tree Collapse file tree 1 file changed +31
-37
lines changed Expand file tree Collapse file tree 1 file changed +31
-37
lines changed Original file line number Diff line number Diff line change @@ -7,26 +7,23 @@ const gitCommitDirective = {
77 } ,
88 run ( data ) {
99 return [ {
10- type : "block" ,
11- children : [ {
12- type : "admonition" ,
13- kind : "important" ,
14- icon : false ,
15- children : [
16- {
17- type : "admonitionTitle" ,
18- children : [ {
19- type : "text" ,
20- value : "💾 Commit & push to GitHub" ,
21- } ] ,
22- } ,
23- {
24- type : "code" ,
25- lang : "bash" ,
26- value : `git add .\ngit commit -m "${ data . arg } "\ngit push -u origin main` ,
27- } ,
28- ] ,
29- } ] ,
10+ type : "admonition" ,
11+ kind : "important" ,
12+ icon : false ,
13+ children : [
14+ {
15+ type : "admonitionTitle" ,
16+ children : [ {
17+ type : "text" ,
18+ value : "💾 Commit & push to GitHub" ,
19+ } ] ,
20+ } ,
21+ {
22+ type : "code" ,
23+ lang : "bash" ,
24+ value : `git add .\ngit commit -m "${ data . arg } "\ngit push -u origin main` ,
25+ } ,
26+ ] ,
3027 } ] ;
3128 } ,
3229} ;
@@ -39,23 +36,20 @@ const youShouldNoticeDirective = {
3936 } ,
4037 run ( data , _ , ctx ) {
4138 return [ {
42- type : "block" ,
43- children : [ {
44- type : "admonition" ,
45- kind : "important" ,
46- icon : false ,
47- class : "simple" ,
48- children : [
49- {
50- type : "admonitionTitle" ,
51- children : [ {
52- type : "text" ,
53- value : "👀 You should notice..." ,
54- } ] ,
55- } ,
56- ctx . parseMyst ( data . body ) ,
57- ] ,
58- } ] ,
39+ type : "admonition" ,
40+ kind : "important" ,
41+ icon : false ,
42+ class : "simple" ,
43+ children : [
44+ {
45+ type : "admonitionTitle" ,
46+ children : [ {
47+ type : "text" ,
48+ value : "👀 You should notice..." ,
49+ } ] ,
50+ } ,
51+ ctx . parseMyst ( data . body ) ,
52+ ] ,
5953 } ] ;
6054 } ,
6155} ;
You can’t perform that action at this time.
0 commit comments