Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
jekyll_emoji_tag
Inserts the specified emoji into the document.
You can specify the size and alignment of the emoji.
If you specify an emoji name that does not exist, the undefined
emoji is shown.
Add this line to your Jekyll website's Gemfile
, within the jekyll_plugins
group:
group :jekyll_plugins do
gem 'jekyll_emoji_tag'
end
And then execute:
$ bundle
{% emoji OPTIONS %}
OPTIONS
are:
align
- left
, right
or inline
(default is inline)class
- CSS class to apply to the generated emojidiv
- Wrap the emoji in a <div/> instead of a <span/>emoji_and_name
- causes the name of the emoji to be output along with the image (default is false)list
- output all emojis (default is false)name
- name of emoji (defaults to smiley)size
- height of emoji (defaults to 3em)style
- Additional CSS styles for the generated emojilist
and name
are mutually exclusive; only specify one of them.
If neither list
nor name
is specified, the smiley
emoji is output.
The names of all supported emojis are:
angry
boom
clap
confounded
eggplant
grimace
grin
halo
horns
kiss
loudly_cry
notes
open
please
poop
rolling
sad
sax
scream
smiley
smirk
sunglasses
think
two_hearts
wink
worried
unamused
vulcan
zipper
{% emoji name='boom' %}
{% emoji align='right' name='grin' %}
{% emoji name='sad' size='12pt' %}
{% emoji align='right' name='horns' size='12pt' %}
{% emoji emoji_and_name name='poop' %}
{% emoji align='right' emoji_and_name name='scream' %}
{% emoji list %}
{% emoji list size='1em' %}
See the demo for more examples.
After checking out the repo, run bin/setup
to install dependencies.
Then, run bundle exec rake test
to run the tests.
You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
.
To release a new version, run bundle exec rake release
,
which will create a git tag for the version, push git commits and tags,
and push the .gem
file to https://rubygems.org.
Bug reports and pull requests are welcome at https://github.com/mslinn/jekyll_emoji_tag.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that jekyll_emoji_tag demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.