Emoji for ABAP
Made by Marc Bernard Tools giving back to the SAP Community
NO WARRANTIES, MIT License
Based on Twitter Emoji and Twemoji Amazing (MIT License)
HTML output with Internet connection since Emoji graphics are hosted on https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/
.
You can install ABAP Emoji using abapGit either creating a new online repository for https://github.com/Marc-Bernard-Tools/ABAP_Emoji or downloading the repository ZIP file and creating a new offline repository.
We recommend using package $EMOJI
.
Use Twemoji Cheatsheet to view all supported Emoji.
To find the name of an Emoji, go to the official Unicode Emoji List. The name is based on the "CLDR short name" with spaces replaced by -
.
Other helpful sources: Emoji Test (Plain Text List), Emoji JSON, Emoji Community Projects.
write zcl_emoji=>create( )->format_emoji( 'I :red-heart: ABAP' ).
I ❤️ ABAP
I <i class="twa twa-red-heart"></i> ABAP
Note: Include twemoji-amazing.css
in your HTML output.
- Insert one line into the following class
CLASS zcl_abapgit_syntax_highlighter IMPLEMENTATION.
...
METHOD apply_style.
...
lv_escaped = show_hidden_chars( lv_escaped ).
lv_escaped = zcl_emoji=>create( )->format_emoji( lv_escaped ). "<<< insert
...
ENDMETHOD.
- Start transaction
SMW0
>Binary data
>$ABAPGIT
- Edit
ZABAPGIT_ICON_FONT_CSS
- Append
twemoji-amazing.css
to the icon CSS and save
All contributions are welcome! Read our Contribution Guidelines, fork this repo, and create a pull request.
Made with ❤️ in Canada
Copyright 2021 Marc Bernard https://marcbernardtools.com/
Follow @marcfbe on Twitter