Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marc-bernard-tools/abap-emoji
Emoji for ABAP
https://github.com/marc-bernard-tools/abap-emoji
abap emoji libs sap
Last synced: 8 days ago
JSON representation
Emoji for ABAP
- Host: GitHub
- URL: https://github.com/marc-bernard-tools/abap-emoji
- Owner: Marc-Bernard-Tools
- License: mit
- Created: 2021-05-11T12:54:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-04T23:00:20.000Z (19 days ago)
- Last Synced: 2024-12-15T01:35:33.998Z (9 days ago)
- Topics: abap, emoji, libs, sap
- Language: CSS
- Homepage: https://github.com/Marc-Bernard-Tools
- Size: 354 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
![Version](https://img.shields.io/endpoint?url=https://shield.abap.space/version-shield-json/github/Marc-Bernard-Tools/ABAP-Emoji/src/zcl_emoji.clas.abap/c_version&label=Version&color=blue)
[![License](https://img.shields.io/github/license/Marc-Bernard-Tools/ABAP-Emoji?label=License&color=success)](LICENSE)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg?color=success)](https://github.com/Marc-Bernard-Tools/.github/blob/main/CODE_OF_CONDUCT.md)
[![REUSE Status](https://api.reuse.software/badge/github.com/Marc-Bernard-Tools/ABAP-Emoji)](https://api.reuse.software/info/github.com/Marc-Bernard-Tools/ABAP-Emoji)# ✨ ABAP-Emoji ✨
Emoji for ABAP
Made by [Marc Bernard Tools](https://marcbernardtools.com/) giving back to the [SAP Community](https://community.sap.com/)
NO WARRANTIES, [MIT License](LICENSE)
Based on [Twitter Emoji](https://github.com/twitter/twemoji) and [Twemoji Amazing](https://github.com/SebastianAigner/twemoji-amazing) (MIT License)
## Prerequisite
HTML output with Internet connection since Emoji graphics are hosted on `https://cdn.jsdelivr.net/gh/twitter/[email protected]/assets/`.
## Installation
You can install ABAP Emoji using [abapGit](https://github.com/abapGit/abapGit) either creating a new online repository for https://github.com/Marc-Bernard-Tools/ABAP_Emoji or downloading the repository [ZIP file](https://github.com/Marc-Bernard-Tools/ABAP_Emoji/archive/main.zip) and creating a new offline repository.
We recommend using package `$EMOJI`.
## Usage
### Emoji
Use [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/) to view all supported Emoji.
To find the name of an Emoji, go to the official [Unicode Emoji List](https://unicode.org/emoji/charts/emoji-list.html). The name is based on the "CLDR short name" with spaces replaced by `-`.
Other helpful sources: [Emoji Test (Plain Text List)](https://unicode.org/Public/emoji/13.1/emoji-test.txt), [Emoji JSON](https://github.com/amio/emoji.json),
[Emoji Community Projects](https://github.com/twitter/twemoji#community-projects).### ABAP
```abap
write zcl_emoji=>create( )->format_emoji( 'I :red-heart: ABAP' ).
```### Output
I ❤️ ABAP
```html
I ABAP
```Note: Include [`twemoji-amazing.css`](https://github.com/mbtools/ABAP-Emoji/blob/main/css/twemoji-amazing.css) in your HTML output.
## Integrate with abapGit (Developer Version)
![image](https://github.com/mbtools/ABAP-Emoji/blob/main/img/abapGit_Emoji_Example.png?raw=true)
1. Insert one line into the following class
```abap
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.
```2. Start transaction `SMW0` > `Binary data` > `$ABAPGIT`
3. Edit `ZABAPGIT_ICON_FONT_CSS`
4. Append [`twemoji-amazing.css`](https://github.com/mbtools/ABAP-Emoji/blob/main/css/twemoji-amazing.css) to the icon CSS and save## Contributions
All contributions are welcome! Read our [Contribution Guidelines](CONTRIBUTING.md), fork this repo, and create a pull request.
## About
Made with :heart: in Canada
Copyright 2021 Marc Bernard
Follow [@marcfbe](https://twitter.com/marcfbe) on Twitter