forked from FINAKON/HelpProject
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.
52 lines
1.9 KiB
TypeScript
52 lines
1.9 KiB
TypeScript
/**
|
|
* Create an extension for `mdast-util-from-markdown` to enable GFM tables in
|
|
* markdown.
|
|
*
|
|
* @returns {FromMarkdownExtension}
|
|
* Extension for `mdast-util-from-markdown` to enable GFM tables.
|
|
*/
|
|
export function gfmTableFromMarkdown(): FromMarkdownExtension
|
|
/**
|
|
* Create an extension for `mdast-util-to-markdown` to enable GFM tables in
|
|
* markdown.
|
|
*
|
|
* @param {Options | null | undefined} [options]
|
|
* Configuration.
|
|
* @returns {ToMarkdownExtension}
|
|
* Extension for `mdast-util-to-markdown` to enable GFM tables.
|
|
*/
|
|
export function gfmTableToMarkdown(
|
|
options?: Options | null | undefined
|
|
): ToMarkdownExtension
|
|
export type InlineCode = import('mdast').InlineCode
|
|
export type Table = import('mdast').Table
|
|
export type TableCell = import('mdast').TableCell
|
|
export type TableRow = import('mdast').TableRow
|
|
export type MarkdownTableOptions = import('markdown-table').Options
|
|
export type CompileContext = import('mdast-util-from-markdown').CompileContext
|
|
export type FromMarkdownExtension = import('mdast-util-from-markdown').Extension
|
|
export type FromMarkdownHandle = import('mdast-util-from-markdown').Handle
|
|
export type ToMarkdownExtension = import('mdast-util-to-markdown').Options
|
|
export type ToMarkdownHandle = import('mdast-util-to-markdown').Handle
|
|
export type State = import('mdast-util-to-markdown').State
|
|
export type Info = import('mdast-util-to-markdown').Info
|
|
/**
|
|
* Configuration.
|
|
*/
|
|
export type Options = {
|
|
/**
|
|
* Whether to add a space of padding between delimiters and cells (default:
|
|
* `true`).
|
|
*/
|
|
tableCellPadding?: boolean | null | undefined
|
|
/**
|
|
* Whether to align the delimiters (default: `true`).
|
|
*/
|
|
tablePipeAlign?: boolean | null | undefined
|
|
/**
|
|
* Function to detect the length of table cell content, used when aligning
|
|
* the delimiters between cells (optional).
|
|
*/
|
|
stringLength?: MarkdownTableOptions['stringLength'] | null | undefined
|
|
}
|