Skip to content

Tabpane: assume text=true when ... #1749

Open

Description

Originally posted by @titusfortner in #1745 (comment)

Is there a (easy) way to have text=true be implicit when using % delimiter to get markdown in a tab? Most of our implementation is moving to markdown-only since we're importing code automatically from github and want to be able to make translations for everything else.

I couldn't figure out how the markdown was being enforced just looking at the code, so it may be happening in a completely different part of the code and definitely not easy to do this, but just curious.

Yeah, we're also using text tabs exclusively over on the OTel website. I don't think that I'd want to test for % delimiters (and I'm not sure that we can), but I agree that we look for something to trigger the text=true default on.

Off the top of my head, I'd consider triggering on the absence of lang parameters. I'll add this to the target fixes for next quarter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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