完成世界书、骰子、apiconfig页面处理
This commit is contained in:
55
frontend/node_modules/remark-parse/index.d.ts
generated
vendored
Normal file
55
frontend/node_modules/remark-parse/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
import type {Root} from 'mdast'
|
||||
import type {Extension as FromMarkdownExtension} from 'mdast-util-from-markdown'
|
||||
import type {Extension as MicromarkExtension} from 'micromark-util-types'
|
||||
import type {Plugin} from 'unified'
|
||||
import type {Options} from './lib/index.js'
|
||||
|
||||
export type {Options} from './lib/index.js'
|
||||
|
||||
/**
|
||||
* Add support for parsing from markdown.
|
||||
*
|
||||
* @this
|
||||
* Unified processor.
|
||||
* @param
|
||||
* Configuration (optional).
|
||||
* @returns
|
||||
* Nothing.
|
||||
*/
|
||||
declare const remarkParse: Plugin<
|
||||
[(Readonly<Options> | null | undefined)?],
|
||||
string,
|
||||
Root
|
||||
>
|
||||
export default remarkParse
|
||||
|
||||
// Add custom settings supported when `remark-parse` is added.
|
||||
declare module 'unified' {
|
||||
interface Settings extends Options {}
|
||||
|
||||
interface Data {
|
||||
/**
|
||||
* List of `micromark` extensions to use.
|
||||
*
|
||||
* This type is registered by `remark-parse`.
|
||||
* Values can be registered by remark plugins that extend `micromark` and
|
||||
* `mdast-util-from-markdown`.
|
||||
* See {@link MicromarkExtension | `Extension`} from
|
||||
* {@link https://github.com/micromark/micromark/tree/main/packages/micromark-util-types | `micromark-util-types`}.
|
||||
*/
|
||||
micromarkExtensions?: MicromarkExtension[]
|
||||
|
||||
/**
|
||||
* List of `mdast-util-from-markdown` extensions to use.
|
||||
*
|
||||
* This type is registered by `remark-parse`.
|
||||
* Values can be registered by remark plugins that extend `micromark` and
|
||||
* `mdast-util-from-markdown`.
|
||||
* See {@link FromMarkdownExtension | `Extension`} from
|
||||
* {@link https://github.com/syntax-tree/mdast-util-from-markdown#extension | `mdast-util-from-markdown`}.
|
||||
*/
|
||||
fromMarkdownExtensions?: Array<
|
||||
FromMarkdownExtension[] | FromMarkdownExtension
|
||||
>
|
||||
}
|
||||
}
|
||||
21
frontend/node_modules/remark-parse/license
generated
vendored
Normal file
21
frontend/node_modules/remark-parse/license
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
(The MIT License)
|
||||
|
||||
Copyright (c) 2014 Titus Wormer <tituswormer@gmail.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
Reference in New Issue
Block a user