Skip to content

TextformatterMarkdownExtra: flavorRCD #143

@mikerockett

Description

@mikerockett

Short description of the issue

TextformatterMarkdownExtra::flavorRCD doesn't appear to be able to be set in the module config. I'd like to be able to set external hrefs to open in a new tab.

Suggestion for a possible fix

The option should be added into the configuration, unless I'm misunderstanding something.

We could also make use of ParsedownExtraPlugin, which is more configurable. If you're not up to including this, then I'm happy to create a new module for it.

The plugin utilises this for configuring external links:

$md->links_external_attr = [
    'target' => '_blank',
];

We could set the module to add attributes as above.

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