Setting different font sizes on syntax level for specific elements


Is there any support for changing the font-size for specific elements in the editor window? I’m currently trying to make the Markdown highlighting a bit nicer, but making e.g. heading elements appear in font sizes according to their heading level.

For example, in Emacs you’ll get,

But in Atom simply increasing the font-size on the element will cause a lot of problems such as spelling mistake underlining looking weird, and line-numbers displaying correctly. For example,