mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-13 21:42:57 +00:00
Emojis #546
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @EasyLOB on GitHub (Jul 12, 2022).
Hi,
Is there any list of all Markdig Emojis available ?
I am converting some GitHub Wiki Pages to Blazor Pages, using a Component created with Markdig, and the emojis are not translated.
Just for reference, below you find a list of all "special" GitHub emojis:
https://gist.github.com/rxaviers/7360908
Even "normal" ( :-) and so on ) emojis are not translated.
Below you find my code:
Thanks
@MihaZupan commented on GitHub (Jul 12, 2022):
Here's the current list: https://github.com/xoofx/markdig/blob/master/src/Markdig/Extensions/Emoji/EmojiMapping.cs
If we're missing something useful, the list can be customised when you create the pipeline. Or Markdig's default list could be updated ofc
@MihaZupan commented on GitHub (Jul 12, 2022):
The emoji extension is not added as part of
UseAdvancedExtensions.You have to call
.UseEmojiAndSmileyexplicitly before building the pipeline.@EasyLOB commented on GitHub (Jul 12, 2022):
Hi,
You are really fast answering 😄
For instance, I am using 👏 ( : clap: , your code supports ) and is not working with the following C# code:
Any idea why ?
Is ToHtml() compatible with emojis ?
Thanks
@EasyLOB commented on GitHub (Jul 12, 2022):
Hi,
Now it's working perfectly: from the link I sent above just 17 emojis did not translate ( I do not use them ).
In a hurry I forgot to start the Issue saying you created a wonderfull library 👏.
You deserve to know where I am using Markdig...
I do also have an Open Source Project EasyLOB-3 ( currently working on EasyLOB-4 and EasyLOB-6 ).
After using a lot of Mardown creating Wikis ( EasyLOB 1 Wiki ) I felt in love with Markdown: it's simple, easy and fast to create nice Wiki and Help Pages.
Currently I am working in a project with Blazor ( I developed both Server and WebAssembly, and will use the WA ).
My first idea for Help Pages was using WordPress under the company site to create the pages.
But today morning I came you with the idea of using Markdown inside Blazor, and with your help, less than 8 hours after it's working perfectly: with both Blazor Server and Blazor WebAssembly 😄.
Thank you