Skip to Content

Lawtext core references


Lawtext core references / core/src/parser/std/rules/$article

core/src/parser/std/rules/$article

Variables

$article

const $article: WithErrorRule<Article>

Defined in: core/src/parser/std/rules/$article.ts:118 

The parser rule for std.Article. Please see the source code for the detailed syntax, and the test code  for examples.

Functions

articleToLines()

articleToLines(el, indentTexts): Line[]

Defined in: core/src/parser/std/rules/$article.ts:25 

The renderer for std.Article. Please see the source code for the detailed syntax, and the test code  for examples.

Parameters

el

Article

indentTexts

string[]

Returns

Line[]

References

default

Renames and re-exports $article

© 2017-2026 yamachi