The ability to use merge field values inside code blocks would open up a lot of opportunities. For example, a custom field value could be used within css inside a code block to show certain results, highlight certain things etc. Currently code block is considering merge field values as just strings and not dynamically replacing it with custom value or custom field data.