Skip to content

TextContentRenderer: How to ignore url in links #166

@zxy-c

Description

@zxy-c

I want get a plain text of markdown

val parser: Parser = Parser.builder().build()
val document: Node = parser.parse("[Google](https://google.com)")
TextContentRenderer.builder().build().render(document).reader()

The above code will output "" Google \ "(https://google.com)"
How to ignore "(https://google.com)"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions