Skip to content

Support hiding lines with the code-example directive #4047

@abey79

Description

@abey79

It would be nice to use the code-example directive for this kind of snippet, so that all languages can be covered:

image

It would also be nice for those snippet to be tested, but that requires stub code (in the case above, create a stub frames object). Ideally, we should be able to add stub code in the code example file, and mark it as hidden for the purpose of the code-example directive.

(shadow of https://github.com/rerun-io/landing/issues/515)

Metadata

Metadata

Assignees

No one assigned

    Labels

    📖 documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions