Skip to content

Question: How to extract original source between delimiters in a delimiterProcessor? #317

@zampino

Description

@zampino

Hello, thanks for this well written library! We're considering it for replacing the parser in our clojure markdown document to data library.

I'm trying to add support for inline latex formulas delimited between single dollar signs some $\phi$ ormula via a custom delimiterProcessor but couldn't find examples of such a processor which is able to extract the original source between the delimiters since afaiu delimiter processors operate after the inline parsing.

What is currently possible is to capture and join all literals from text nodes between the opener and the closer Nodes.between() but that might not reproduce the exact source as in

$some [stuff](/which/might/looklike/a/link) say$

same using a Markdown or Text renderer I guess.

I guess this falls under #263

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions