Language-specific font size and line wrapping?

I’d love if I could set markdown files, for example, to use a larger font and soft wrap, while leaving other file types alone. I don’t believe it’s possible to do this with the default app settings, but would it be possible to do this with an extension?