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.
55 lines
999 B
TypeScript
55 lines
999 B
TypeScript
export type {Options} from './lib/index.js'
|
||
|
||
export {gfmTableFromMarkdown, gfmTableToMarkdown} from './lib/index.js'
|
||
|
||
// Add custom data tracked to turn markdown into a tree.
|
||
declare module 'mdast-util-from-markdown' {
|
||
interface CompileData {
|
||
/**
|
||
* Whether we’re currently in a table.
|
||
*/
|
||
inTable?: boolean | undefined
|
||
}
|
||
}
|
||
|
||
// Add custom data tracked to turn a syntax tree into markdown.
|
||
declare module 'mdast-util-to-markdown' {
|
||
interface ConstructNameMap {
|
||
/**
|
||
* Whole table.
|
||
*
|
||
* ```markdown
|
||
* > | | a |
|
||
* ^^^^^
|
||
* > | | - |
|
||
* ^^^^^
|
||
* ```
|
||
*/
|
||
table: 'table'
|
||
|
||
/**
|
||
* Table cell.
|
||
*
|
||
* ```markdown
|
||
* > | | a |
|
||
* ^^^^^
|
||
* | | - |
|
||
* ```
|
||
*/
|
||
tableCell: 'tableCell'
|
||
|
||
/**
|
||
* Table row.
|
||
*
|
||
* ```markdown
|
||
* > | | a |
|
||
* ^^^^^
|
||
* | | - |
|
||
* ```
|
||
*/
|
||
tableRow: 'tableRow'
|
||
}
|
||
}
|
||
|
||
// Note: `Table` is exposed from `@types/mdast`.
|