How to have a number with blue circle background in text?

I got curious if it was possible to generalize using Unicode characters and turns out it is:

#let nnum(num) = {
  if num < 1 or num > 10 { panic("Given number must be between 1 and 10 (inclusive)") }
  let numId = "❶".to-unicode() + (num - 1)
  strong(text(fill:blue, str.from-unicode(numId)))
}

Edit: vmartel08 pointed out that numbering already has the capability to display numbers this way, so this function is unnecessary.