Skip to content

Conversation

@jlcrochet
Copy link

Ref. #115

I needed better formatting for JS inside script tags, so I decided to take a crack at implementing a simple JS tokenizer. There might be some edge cases it doesn't cover yet, but it's been working well for me so far.

`case` and `default` code blocks within `switch`
blocks are now properly formatted.

Single-line bodies for `if`, `else`, `while`, and
`for` statements are now properly formatted.
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

Successfully merging this pull request may close these issues.

1 participant