Skip to content

Latest commit

 

History

History
90 lines (54 loc) · 3.37 KB

README.md

File metadata and controls

90 lines (54 loc) · 3.37 KB

Version

License Contributor Covenant REUSE Status

✨ ABAP-Emoji ✨

Emoji for ABAP

Made by Marc Bernard giving back to the SAP Community

Based on Twitter Emoji and Twemoji Amazing (MIT License)

NO WARRANTIES, MIT License

Prerequisite

HTML output with Internet connection since Emoji graphics are hosted on https://twemoji.maxcdn.com/.

Installation

You can install ABAP Emoji using abapGit either creating a new online repository for https:/Marc-Bernard-Tools/ABAP_Emoji or downloading the repository ZIP file and creating a new offline repository.

We recommend to use package $EMOJI.

Usage

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.

ABAP

write zcl_emoji=>create( )->format_emoji( 'I :red-heart: ABAP' ).

Output

I ❤️ ABAP

I <i class="twa twa-red-heart"></i> ABAP

Note: Include twemoji-amazing.css in your HTML output.

Integrate with abapGit (Developer Version)

image

  1. 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.
  1. Start transaction SMW0 > Binary data > $ABAPGIT
  2. Edit ZABAPGIT_ICON_FONT_CSS
  3. Append twemoji-amazing.css to the icon css and save

Contributions

All contributions are welcome! Read our Contribution Guidelines, fork this repo, and create a pull request.

You can install the developer version of ABAP Emoji using abapGit either by creating a new online repository for https:/abapPM/ABAP-Emoji.

Recommended SAP package: $EMOJI.

About

Made with ❤️ in Canada

Copyright 2024 apm.to Inc. https://apm.to

Follow @marcfbe on X/Twitter