tldr-pages / tldr

📚 Collaborative cheatsheets for console commands
https://tldr.sh
Other
50.94k stars 4.18k forks source link

Render placeholders as bold text in render.py #11994

Open vitorhcl opened 9 months ago

vitorhcl commented 9 months ago

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

kbdharun commented 9 months ago

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.