Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Add emoji support in front-matter values #77

Open
jmaupetit opened this issue Mar 29, 2016 · 4 comments
Open

Add emoji support in front-matter values #77

jmaupetit opened this issue Mar 29, 2016 · 4 comments

Comments

@jmaupetit
Copy link
Member

jmaupetit commented Mar 29, 2016

It appears that gray-matter fails at parsing YAML front-matter with an emoji 馃槩

Edit (2016-09-28): it is required to enclose Emoji with quotes because it is how YAML is supposed to work:

variable: "Hello :tada:"

This issue is therefore about rendering Emoji from the YAML front-matter in the preview of a template, which is... challenging.

@jmaupetit jmaupetit added the bug label Mar 29, 2016
@jmaupetit jmaupetit added this to the Le Lab #2 milestone Mar 29, 2016
@willdurand
Copy link
Member

Isn't it because you have to quote them?

@jmaupetit
Copy link
Member Author

Perfectly right. Now we must render them.

@willdurand
Copy link
Member

That makes sense then, because of YAML syntax I'd say.

@willdurand
Copy link
Member

willdurand commented Sep 28, 2016

Removed label hacktoberfest as it is a bit too tricky for newcomers unfortunately.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants