Bhargava 6063bd1724 Help Project:
1. Initial Commit - a boiler plate code and POC to realize the concept of context
sensitive help
2. Frontend code written in ReactJS
3. Backend code written in Java, Spring Boot Framework
4. Frontend Start:
        pre-requisites : node, npm
	npm run dev  ==> to start the frontend vite server
5. Backend Start:
	pre-requisites : java, mvn
        mvn spring-boot:run  ==> to start the backend server
6. Visit http://localhost:5173/ for basic demo of help, press F1 in textboxes
7. Visit http://localhost:5173/editor and enter "admin123" to add/modify texts.

Happy Coding !!!

Thank you,
Bhargava.
2025-07-04 15:54:13 +05:30

54 lines
1.3 KiB
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Pass a hast tree through an HTML parser, which will fix nesting, and turn
* raw nodes into actual nodes.
*
* @param {Nodes} tree
* Original hast tree to transform.
* @param {Options | null | undefined} [options]
* Configuration (optional).
* @returns {Nodes}
* Parsed again tree.
*/
export function raw(tree: Nodes, options?: Options | null | undefined): Nodes;
/**
* Info passed around about the current state.
*/
export type State = {
/**
* Add a hast node to the parser.
*/
handle: (node: Nodes) => undefined;
/**
* User configuration.
*/
options: Options;
/**
* Current parser.
*/
parser: Parser<DefaultTreeAdapterMap>;
/**
* Whether there are stitches.
*/
stitches: boolean;
};
/**
* Custom comment-like value we pass through parse5, which contains a
* replacement node that well swap back in afterwards.
*/
export type Stitch = {
/**
* Node type.
*/
type: "comment";
/**
* Replacement value.
*/
value: {
stitch: Nodes;
};
};
import type { Nodes } from 'hast';
import type { Options } from 'hast-util-raw';
import { Parser } from 'parse5';
import type { DefaultTreeAdapterMap } from 'parse5';
//# sourceMappingURL=index.d.ts.map