UNPKG

shelving

Version:

Toolkit for using data in JavaScript.

28 lines (27 loc) 1.25 kB
import type { MarkupRules } from "../MarkupRule.js"; /** Markup rules that work in a block context. */ export declare const MARKUP_RULES_BLOCK: MarkupRules; /** Markup rules that work in an inline context. */ export declare const MARKUP_RULES_INLINE: MarkupRules; /** * Default markup rules * * These rules define a syntax similar to Markdown but with improvements: * 1. Syntax is more intuitive (e.g. `*strong*` always uses `*` asterisk and `_em_` always uses `_` underscore, and URLs are always autolinked). * 2. More compatible with textboxes that wrap lines by default (e.g. single `\n` linebreaks don't need the trailing double space to, they're always treated as `<br />`). * 3. Don't support fussy fragile syntax that lets users make mistakes (e.g. literal HTML tags or `&amp;` character entities). */ export declare const MARKUP_RULES: MarkupRules; export * from "./blockquote.js"; export * from "./code.js"; export * from "./fenced.js"; export * from "./heading.js"; export * from "./inline.js"; export * from "./linebreak.js"; export * from "./link.js"; export * from "./link.js"; export * from "./ordered.js"; export * from "./paragraph.js"; export * from "./separator.js"; export * from "./table.js"; export * from "./unordered.js";