Skip to content

Update glamour to version which includes emoji support - #3403

Merged
samcoe merged 4 commits into
trunkfrom
update-glamour
Apr 15, 2021
Merged

samcoe merged 4 commits into
trunkfrom
update-glamour

Conversation

@samcoe

@samcoe samcoe commented Apr 12, 2021 •

Copy link
Copy Markdown
Contributor

This PR updates our version of glamour to v0.3.0 which includes my patch for emoji support. It also removes our previous workaround for emoji support in favor of the new glamour feature.

Closes #2352

@samcoe samcoe self-assigned this Apr 12, 2021

@mislav mislav left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great to know that it's been merged!

Show we also remove this line from repo view?

readmeContent = emoji.Parse(readmeContent)

@mislav mislav left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Comment thread pkg/cmd/repo/view/view.go
}
readmeContent = emoji.Parse(readmeContent)
} else {
readmeContent = emoji.Parse(readme.Content)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change disables emoji support in non-Markdown documents, but I'm okay with that.

@samcoe
samcoe merged commit 09b0981 into trunk Apr 15, 2021
@samcoe
samcoe deleted the update-glamour branch April 15, 2021 17:33

@Nightingale0504 Nightingale0504 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy,I can do things again.

Yeah.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Emoji parser does not discriminate

4 participants