europa-core
Version:
Europa core engine for converting HTML into valid Markdown
24 lines (23 loc) • 778 B
TypeScript
/**
* The options used by {@link EuropaCore} implementations.
*/
export interface EuropaOptions {
/**
* Whether absolute URLs should be used for elements (e.g. anchors, images). Defaults to `false`.
*/
readonly absolute?: boolean;
/**
* The base URI used to resolve relative URLs used for elements (e.g. anchors, images). Defaults to an
* environment-specific base URI.
*/
readonly baseUri?: string;
/**
* The end of line character to be inserted into generated Markdown. Defaults to an environment-specific end of line
* character.
*/
readonly eol?: string;
/**
* Whether URLs for elements (e.g. anchors, images) are to be inserted inline. Defaults to `false`.
*/
readonly inline?: boolean;
}