export const make = (content) => {
const c = (v) => ((v - 32) / 9) * 5
return content.replace(/\d+(\.\d+)?(°[FC]?)?/g, (raw) => {
if (/°C/.test(raw)) return raw
const v = c(parseFloat(raw))
return Number.isNaN(v) ? raw : v.toFixed(1) + "°C"
})
}