nuckty
RU
All sections →

Block extensions

This section lists the block extensions that add sets of BEM blocks via env.levels. The blocks you need get into the build by dependencies.

How it works

A block extension adds a level:

import { fileURLToPath } from 'node:url';
import type { NucktyEnv } from 'nuckty';

export function register(env: NucktyEnv): void {
    env.levels.add(fileURLToPath(new URL('../blocks/', import.meta.url)));
}

The full contract is in the block extension guide.

Registry

Video (@[provider](id)) is also a markdown construct, but without a paired block; the nuckty-ext-markdown-video package is described separately.