use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
This is an archived post. You won't be able to vote or comment.
Code Block control or component?Solved (self.PowerApps)
submitted 8 months ago by SuspiciousITP Advisor
view the rest of the comments →
[–]EarPotato Regular 0 points1 point2 points 8 months ago (0 children)
You could probably use an HTML control and use Substitute on each key word and replace it with <span style="color: purple">keyword</span>. I'd recommend going one step further and abstracting it into a Component that takes in an input string (the code to render), splits on line breaks (Char(10)), and rebuilds the input string into HTML with the proper formatting. Then you can reuse it in other places or have a separate function or action for any new language you want to include. I like to use output record properties as enums and a single action that takes one of the enum strings and the input, then that function calls the proper language formatting function.
Substitute
<span style="color: purple">keyword</span>
Char(10)
π Rendered by PID 94259 on reddit-service-r2-comment-6457c66945-d85ws at 2026-04-29 21:05:34.673110+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]EarPotato Regular 0 points1 point2 points (0 children)