A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/syntax-tree/unist/commit/60da1d2b724d5cc1a1daf2af29435ce9854f6da5 below:

Add description of `indent` on `node.position` · syntax-tree/unist@60da1d2 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+7

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+7

-2

lines changed Original file line number Diff line number Diff line change

@@ -28,8 +28,13 @@ This document explains some terminology relating to

28 28

`end`, both of which contain an object with `line` and `column` set

29 29

to an integer referencing their respective (1-based) line and column

30 30

in the input file. Both may have an `offset` property set to its

31 -

index from the beginning of the input. If a node represents something not

32 -

available in the original input, it must not have a `position`.

31 +

index from the beginning of the input.

32 +

The object at `position` may additionally have an `indent` property

33 +

set to an array of integers higher than 0 (not including), in which

34 +

case the node represents content which spans multiple lines prefixed

35 +

with content which is not part of the node.

36 +

If a node represents something not available in the original input, it

37 +

must not have a `position`.

33 38 34 39

See [**nlcst**](https://github.com/wooorm/nlcst) for more information

35 40

on **retext** nodes, and [`mdast/doc/nodes.md`](https://github.com/wooorm/mdast/blob/master/doc/nodes.md)

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4