Files
ry.kazcloud.dev/node_modules/emmet/dist/markup/format/comment.d.ts
Ryan Kazokas d181f77fb2
All checks were successful
Build and Push / build (push) Successful in 55s
Updates dockerfile
2026-02-16 15:09:37 -05:00

20 lines
727 B
TypeScript

import type { AbbreviationNode } from '@emmetio/abbreviation';
import { type TemplateToken } from './template.js';
import { Config } from '../../config.js';
import { HTMLWalkState } from './html.js';
export interface CommentWalkState {
enabled: boolean;
trigger: string[];
before?: TemplateToken[];
after?: TemplateToken[];
}
export declare function createCommentState(config: Config): CommentWalkState;
/**
* Adds comment prefix for given node, if required
*/
export declare function commentNodeBefore(node: AbbreviationNode, state: HTMLWalkState): void;
/**
* Adds comment suffix for given node, if required
*/
export declare function commentNodeAfter(node: AbbreviationNode, state: HTMLWalkState): void;