Skip to content

For your consideration #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed

Conversation

roborourke
Copy link

Hello, I've made some pretty cool revisions to the plugin while keeping it nice and light.

First off I've removed the need for splitting and looping in the injector using regex so we should see a performance boost.

Secondly I've made each method configurable so an options object can be passed in to modify elements such as the regex, the classes to be output and the base name of the classes.

Thirdly it supports class names that reflect the content of what is wrapped so for words and letters there are class names to match rather than only by number.

roborourke and others added 4 commits April 5, 2011 11:26
… splitting and looping through arrays.

Should be faster but needs benchmarking against original.

TODO:
Find a way to preserve html, especially in the dropcap method as it will obliterate inline markup.

Signed-off-by: Robert O'Rourke <[email protected]>
Added example CSS for creating kerning pairs.
@davatron5000
Copy link
Owner

Pushing the .char-* features into #45. Thanks for you commit sorry it took 3 years to get around to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants