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

Render placeholders as bold text in render.py #11994

Open
vitorhcl opened this issue Jan 3, 2024 · 1 comment
Open

Render placeholders as bold text in render.py #11994

vitorhcl opened this issue Jan 3, 2024 · 1 comment
Labels
decision A (possibly breaking) decision regarding tldr-pages content, structure, infrastructure, etc.

Comments

@vitorhcl
Copy link
Member

vitorhcl commented Jan 3, 2024

I think thid could be achieved by replacing "{{" and "}}" by the HTML tags <b> and </b>.

@kbdharun
Copy link
Member

kbdharun commented Jan 6, 2024

I think thid could be achieved by replacing "{{" and "}}" by the HTML tags <b> and </b>.

Thanks for the proposal, while this does sound good on paper, this would be problematic in pages where we need to do placeholder escaping to display double brackets {{ }} along with the rendered placeholder. So we need to carefully proceed with this issue to avoid edge cases like this.

@kbdharun kbdharun added the decision A (possibly breaking) decision regarding tldr-pages content, structure, infrastructure, etc. label Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
decision A (possibly breaking) decision regarding tldr-pages content, structure, infrastructure, etc.
Projects
None yet
Development

No branches or pull requests

2 participants