I’m new to Typst and am struggling with the scope of a table formatting rule. Say I want the header line of a table to show in bold, but only for one specific table. It’s my understanding that I can do this by enclosing it all within {}:
Hi. Look at the modes table, you are mixing the syntax which doesn’t work. You have to switch to code mode with # and then use curly braces (or square brackets). You can’t switch to code mode within a code mode. You can also see an example in the table guide.
Assuming this is somewhere in the markup part of your document, you need the prefix the opening curly bracket with #. And inside the code scope, the lines should not start with # (this should also result in an error).