Skip to content

How to get where a Table occurs in the document relative to Lines #162

@sam-goodwin

Description

@sam-goodwin

Take, for example, the below table. It occurs after "Key: Value" and before "Another Line". I'd like to be able to process

Some Line
Key: Value

| Some Header  | Another Header |
| - | - |
| Some Value | Another Value

Another Line

I'd like to be able to iterate through a page and see the following items in order:

  1. Line ("Some Line")
  2. KeyValue ("Key", "Value")
  3. Table
  4. Line ("Another Line")

Is this possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestjavascriptRelates to the JavaScript/TypeScript version of TRP

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions