Thanks @Emmelina - really useful post. ![]()
One thing I have noticed above is that the Discourse Markdown formatting can sometimes try and helpfully interpret characters such as the ‘back-ticks’ around the NCalc code for the calls to the format() function - turning them into highlighting, rather than displaying the raw code.
I have posted on this previously: Community ToolTip: How to embed RMscript nicely in a post
Or more simply (?), escape the back-ticks with a back-slash:
[=: \`format(MonthEnd, 'yyyy')\`, =>Year]
appears as:
[=: `format(MonthEnd, ‘yyyy’)`, =>Year]
Thanks for supporting the Community - I look forward to reading more helpful nuggets as you find them…