Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
A small jQuery plugin to enable hanging punctuation, an advanced typographic feature.
jQuery.exdent
A small jQuery plugin to enable hanging punctuation[1], an advanced typographic feature. Elements are only exdented, if they are at the beginning of a line. The plugin changes the boring
"Lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Ut a sapien. Aliquam aliquet
purus molestie dolor. Integer quis eros ut
erat posuere dictum.
to this:
"Lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Ut a sapien. Aliquam aliquet
purus molestie dolor. Integer quis eros ut
erat posuere dictum.
You can customize the plugin to fit your exdentation needs:
$('blockquote, q').exdent({
by: '.5em'
});
This exdents both
andby 0.5em. Apart from that you can use jQuery's CSS function to set exdentation:$('q').css('exdent', '.5em');
See [2] for a demo and [3] for issues.
--
O p t i o n s :
jQuery.exdent understands these option parameters:
- by (String): the width by which to exdent, this is a positive value.
- detect (Boolean or String): whether to autodetect the exdentation width (will ignore "width"). If a string is given, this is used for detection, otherwise an english opening quote, U+201C.
- className (String): class to add to / remove from exdented elements.
--
Note: Don't confuse this with jQuery.extend. ;-)
--
[1] http://en.wikipedia.org/wiki/Hanging_punctuation [2] http://boldewyn.github.com/jQuery.exdent/ [3] https://github.com/Boldewyn/jQuery.exdent/issues
FAQs
A small jQuery plugin to enable hanging punctuation, an advanced typographic feature.
The npm package exdent receives a total of 0 weekly downloads. As such, exdent popularity was classified as not popular.
We found that exdent demonstrated a not healthy version release cadence and project activity because the last version was released 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
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.