Skip to content

Allow custom implementations of InlineParsers #68

@lalunamel

Description

@lalunamel

Hi there!

Continuing with the theme of extensibility I'd like to be able to specify the inline parser used to parse markdown.

In my particular use case I'd like to disable a few features of markdown (e.g., inline images) and add a few of my own (e.g., @name will be recognized and parsed as something specific).

Proposal:
Add a method to Builder, public Builder inlineParser(InlineParser parser) that allows passing an implementation of InlineParser to Parser.

e.g.,

Parser.builder().inlineParser(new AtMentionParser()).build()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions