Skip to content

Commit 0558cd7

Browse files
committed
feat(nodes): InlineTag#text
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent 0b76065 commit 0558cd7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ comment](#docblock-comment).
153153
```idl
154154
interface InlineTag <: Node {
155155
tag: string
156+
text: string
156157
type: 'inline-tag'
157158
value: string
158159
}

src/nodes/tag-inline.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ interface InlineTag<Data extends unist.Data = unist.Data> extends Node<Data> {
3535
*/
3636
tag: string
3737

38+
/**
39+
* Text after {@linkcode tag}.
40+
*/
41+
text: string
42+
3843
/**
3944
* Node variant.
4045
*/

0 commit comments

Comments
 (0)