Files
rspade_system/vendor/spatie/ignition/node_modules/micromark-util-subtokenize
root f6fac6c4bc Fix bin/publish: copy docs.dist from project root
Fix bin/publish: use correct .env path for rspade_system
Fix bin/publish script: prevent grep exit code 1 from terminating script

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 02:08:33 +00:00
..

micromark-util-subtokenize

Build Coverage Downloads Size Sponsors Backers Chat

micromark utility to tokenize subtokens.

Contents

Install

npm:

npm install micromark-util-subtokenize

Use

import {subtokenize} from 'micromark-util-subtokenize'

/**
 * Content is transparent: its parsed right now. That way, definitions are also
 * parsed right now: before text in paragraphs (specifically, media) are parsed.
 *
 * @type {Resolver}
 */
function resolveContent(events) {
  subtokenize(events)
  return events
}

API

This module exports the following identifiers: subtokenize. There is no default export.

subtokenize(events)

Tokenize subcontent.

Parameters
  • events (Event[]) — List of events
Returns

boolean — Whether subtokens were found.

Security

See security.md in micromark/.github for how to submit a security report.

Contribute

See contributing.md in micromark/.github for ways to get started. See support.md for ways to get help.

This project has a code of conduct. By interacting with this repository, organisation, or community you agree to abide by its terms.

License

MIT © Titus Wormer