While I don’t recommend it, I’ve had people successfully use dried rosemary leaves in this recipe. If you decide to try this, add the dried rosemary in with the sugar to give it more time to soften and steep in the syrup. Once the syrup has reached room temperature, remove the dried rosemary with a small, wire-mesh strainer.