@botonic/plugin-contentful
Version:
Botonic Plugin Contentful is one of the **[available](https://github.com/hubtype/botonic/tree/master/packages)** plugins for Botonic. **[Contentful](http://www.contentful.com)** is a CMS (Content Management System) which manages contents of a great variet
13 lines (12 loc) • 454 B
TypeScript
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;
}