UNPKG

@botonic/plugin-contentful

Version:

## What Does This Plugin Do?

13 lines (12 loc) 454 B
import * as marked from 'marked'; import { MarkUp, MarkupType, Token, TokenType } from './markup'; /** * marked's intex.ts does not include these types (though they work): del, strong, em */ export declare class Markdown extends MarkUp { options: marked.MarkedOptions; constructor(flavour: MarkupType); parse(txt: string): Token[]; renderToken(_token: Token): string; wrapWithInline(input: string, inlineType: TokenType): string; }