Skip to content

PostCSS Syntax Highlighting #996

@ghost

Description

Hello. Thank you for your hard work.

I'm wondering if there is any interest in syntax highlighting postcss like an scss block?

I'm currently using a vanilla style tag that is processed correctly by postcss, but nesting and other syntax highlighting is nicer when using lang="scss".

I looked through the code base to see if I could figure out a hack and came upon this:

# PostCSS | 'postcss' | 'source.css.postcss'

Not sure if I'm looking in the right place?

After reading the contributing guide it seems like there is some interesting stuff going with how things get processed. I would be open to making a PR with a little guidance.

Thank you.

vanilla

postcss

scss

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedFixed in master branch. Pending production release.feature requestNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions