Skip to content

Clarify the (intended) use of show "word": "substitution" vs. let word = "supstitution"; word #5209

Open

Description

@Andrew15-5

Description

After discussing this, we agreed that it's a good idea to improve the docs by defining clear use cases when a user should use text transformation/substitution and where should the variable used instead.

This is a result of realizing that using backslash to escape/cancel text show rules was in fact a bug and not a feature: #5199.

The text/string substitution:

#show "bug": "feature"
bug

The variable approach:

#let bug = "feature"
#bug

Explaining my problem in details here.

Activity

  1. added
    docs
    on Oct 15, 2024
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

    docs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions