Skip to content

Request to expose internal methods #236

@deammer

Description

@deammer

Hello, it would be amazing to expose the following as exports:

  • normalizeTokens()
  • useTokenize()

I'm currently facing a situation where I want to insert elements between lines of code and I'd like to do it outside of the <Highlight> component, but I still want the tokenization improvements performed by normalizeTokens().

Does this make sense?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions