Skip to content
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

Added option "startCodepoint" to define start code point value #287

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ramirezcgn
Copy link

No description provided.

@ramirezcgn ramirezcgn changed the title Add custom codepoints Added option "startCodepoint" to define start code point value Oct 4, 2021
@danyball
Copy link

danyball commented Jun 9, 2022

I also need this feature. Is there anybody who can review this PR?

@danyball
Copy link

danyball commented Jun 9, 2022

Maybe someone can also use this workaround:

Handlebars.registerHelper("subtract4352", function (value) {
  // we want a codepoint start at hex E001 - decimal 57345 --> subtract 4352
  return value - 4352
})

Usage:
{{ codepoint (subtract4352 this) }}

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.

None yet

2 participants