Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using html tags inside .jade file breaks syntax highlighting #15

Open
moatazelmasry2 opened this issue Jan 21, 2015 · 0 comments
Open

Comments

@moatazelmasry2
Copy link

I'm trying to use jade highlighting to write a jade file which is a mixture of jade and html code. The highlighting stops on the first html tag. Example

doctype html
html(lang="en")
  head
    title= pageTitle
    script(type='text/javascript').
      if (foo) {
         bar(1 + 5)
      }
  body
    <p>Highlighting stops here</p>

    h1 Jade - node template engine
    #container.col
      if youAreUsingJade
        p You are amazing
      else
        p Get on it!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant