Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escape placeholder syntax to show parentheses in an example #10040

Closed
mrnossiom opened this issue Apr 9, 2023 · 1 comment
Closed

Escape placeholder syntax to show parentheses in an example #10040

mrnossiom opened this issue Apr 9, 2023 · 1 comment
Labels
bug Issues with our clients or rendering of pages, etc. help wanted You can help make tldr-pages better!

Comments

@mrnossiom
Copy link

Hi 👋🏻,

I would like to be able to escape the placeholder syntax, in this case we want to be able to show these parentheses to the end user.

`playerctl metadata --format "Now playing: {{artist}} - {{album}} - {{title}}"`

I found a case where someone tried...

`echo "{{\{\{Generator\}\}}}" | fakedata`

...but it does not work
image

Is there a way to escape this syntax ? I can submit 2 PRs to fix these examples

@mrnossiom mrnossiom changed the title Escape placeholder syntax to show parentheses in a example Escape placeholder syntax to show parentheses in an example Apr 9, 2023
@kbdharun kbdharun added bug Issues with our clients or rendering of pages, etc. help wanted You can help make tldr-pages better! labels Apr 28, 2023
@SethFalco
Copy link
Member

SethFalco commented May 17, 2023

Closing this as a duplicate in favor of #10125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues with our clients or rendering of pages, etc. help wanted You can help make tldr-pages better!
Projects
None yet
Development

No branches or pull requests

3 participants