Skip to content

Commit fd8b375

Browse files
committed
Adds emoji support :D
1 parent b50154b commit fd8b375

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

content/blog/2020/10/website-revitalised.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ Over the next few weeks, I worked on the above MVP list. Doing my best to avoid
3838

3939
Once I was done with the MVP list, I started looking at deployment options. I wanted something I wouldn't need to spend much time configuring. [AWS Amplify](https://aws.amazon.com/amplify) fit that requirement. First, I moved my domain over to [Route53](https://aws.amazon.com/route53/). Then I pointed Amplify to [my Github repository](https://github.com/Seanmcn/my-website/), which automatically picked up the build command in my package.json. So simple!
4040

41-
I'm pretty happy where I've got to at this point, any future development I want to do here is much more streamlined for me. More fun stuff to come I hope.
41+
I'm pretty happy where I've got to at this point, any future development I want to do here is much more streamlined for me. More fun stuff to come I hope. :grinning:

gatsby-config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
const emoji = require(`remark-emoji`);
12
module.exports = {
23
siteMetadata: {
34
title: `Sean McNamara`,
@@ -45,6 +46,7 @@ module.exports = {
4546
resolve: `gatsby-remark-smartypants`,
4647
},
4748
],
49+
remarkPlugins: [emoji]
4850
},
4951
},
5052
`gatsby-transformer-sharp`,

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"react-dom": "^16.13.1",
3737
"react-google-recaptcha-v3": "^1.5.2",
3838
"react-helmet": "^6.1.0",
39-
"react-live": "^2.2.0"
39+
"react-live": "^2.2.0",
40+
"remark-emoji": "^2.1.0"
4041
},
4142
"keywords": [
4243
"gatsby"

yarn.lock

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6067,6 +6067,11 @@ emojis-list@^3.0.0:
60676067
resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78"
60686068
integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==
60696069

6070+
emoticon@^3.2.0:
6071+
version "3.2.0"
6072+
resolved "https://registry.yarnpkg.com/emoticon/-/emoticon-3.2.0.tgz#c008ca7d7620fac742fe1bf4af8ff8fed154ae7f"
6073+
integrity sha512-SNujglcLTTg+lDAcApPNgEdudaqQFiAbJCqzjNxJkvN9vAwCGi0uu8IUVvx+f16h+V44KCY6Y2yboroc9pilHg==
6074+
60706075
encodeurl@~1.0.2:
60716076
version "1.0.2"
60726077
resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
@@ -13945,6 +13950,15 @@ regjsparser@^0.6.4:
1394513950
dependencies:
1394613951
jsesc "~0.5.0"
1394713952

13953+
remark-emoji@^2.1.0:
13954+
version "2.1.0"
13955+
resolved "https://registry.yarnpkg.com/remark-emoji/-/remark-emoji-2.1.0.tgz#69165d1181b98a54ad5d9ef811003d53d7ebc7db"
13956+
integrity sha512-lDddGsxXURV01WS9WAiS9rO/cedO1pvr9tahtLhr6qCGFhHG4yZSJW3Ha4Nw9Uk1hLNmUBtPC0+m45Ms+xEitg==
13957+
dependencies:
13958+
emoticon "^3.2.0"
13959+
node-emoji "^1.10.0"
13960+
unist-util-visit "^2.0.2"
13961+
1394813962
1394913963
version "1.0.0"
1395013964
resolved "https://registry.yarnpkg.com/remark-footnotes/-/remark-footnotes-1.0.0.tgz#9c7a97f9a89397858a50033373020b1ea2aad011"

0 commit comments

Comments
 (0)