Skip to content

Allow selectively enable text/leaf/container directives #27

Closed as not planned

Description

@hgl

Initial checklist

Problem

Currently, this plugin enables all three directives en masse.

It would be great if it provides an option that allows selectively choose which directives to enable.

In particular, I'd like to disable text directives support, because it prevent plain text like user@host:port from working. This seems to be too disruptive.

But I still would like to use leaf/container directives

Current solutions

Fork this plugin and add the option

Proposed solutions

Support this option natively

Activity

  1. added
    👋 phase/newPost is being triaged automatically
    🤞 phase/openPost is being triaged manually
    and removed
    👋 phase/newPost is being triaged automatically
    on Feb 23, 2026
  2. wooorm commented on Feb 24, 2026

    @wooorm
    Member

    Hi there!

    I'd like to disable text directives support, because it prevent plain text like user@host:port from working. This seems to be too disruptive.

    That looks like code, not natural language, I’d recommended to use `user@host:port` instead. Additionally, do you have a concrete example that you actually found? Is this an email address with a port? 🤔

    It can be discussed to tighten the grammar for text directives here!
    But, it is intentional that everything is supported here, and not configurable.
    Because the idea is that every tool supports as-close-as-possible, the same grammar: so that it works the same here as in other places, in syntax highlighting, in VS Code, on GH, etc!

  3. github-actions commented on Feb 24, 2026

    @github-actions
  4. added
    👎 phase/noPost cannot or will not be acted on
    and removed
    🤞 phase/openPost is being triaged manually
    on Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    👎 phase/noPost cannot or will not be acted on🙅 no/wontfixThis is not (enough of) an issue for this project

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions