Commit Graph

11 Commits (82257bc091b7d2ec0d4bfb36e3ea3a9329680cba)

Author SHA1 Message Date
Simon Lydell 4893a86a6f
Fix markdown syntax highlighting for babel-flow (#6231)
Previously, the "Copy markdown" button in the playground generated
markdown containing this when having selected "babel-flow" as parser:

    ```babel-flow

This commit changes it to:

    ```jsx

So that the code blocks get syntax highlighting on GitHub.
2019-06-17 17:58:38 +02:00
Nathan Totten a093bb3f7b Adds LWC Parser to support unquoted interop attributes (#5800)
This pull requests adds a new parser option `lwc`. This is the same as the HTML parser, but it adds support for unquoted HTML attributes per the needs of LWC. See: #5627
2019-02-01 13:58:50 +08:00
Ika 284764f030
fix(playground): backward compatibility for --parser babylon (#5690) 2018-12-28 14:56:58 +08:00
Wei-Wei Wu 91c20f7fbe Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
Ika 5e8a4a115a
feat: support HTML/Vue/Angular (#5259) 2018-11-04 23:03:07 +08:00
Ika 13147facc5
feat(html): switch to htmlparser2 (#5127)
- switch to [`htmlparser2`](https://github.com/fb55/htmlparser2)
  - no need to fork
  - won't generate pseudo nodes ([`parse5` will](https://github.com/prettier/prettier/issues/5098#issuecomment-423055181))
  - should be [faster](https://github.com/fb55/htmlparser2#performance)
- support custom self-closing tags
- support HTML entities
- remove extra trailing newline for `<template>`
- distinguish empty/empty-string attributes (`<tag x>`/`<tag x="">`)
- rename `--parser parse5` with `--parser html`
- enable `html` since 1.15, which means it's enabled by default if you install the dev version from GitHub after this PR merged.
2018-09-22 21:53:38 +08:00
Ika 79f4251e26
chore: enable html on preview playground (#5105) 2018-09-19 09:19:18 +08:00
Ika 1915cc3c46
chore: enable glimmer parser on preview playground (#4915) 2018-08-01 15:44:37 +08:00
Lucas Duailibe f3cf50515d fix node 4 problem 2018-04-19 13:55:58 -03:00
Lucas Duailibe 971da5f8c1 lint fixes 2018-04-17 17:29:44 -03:00
Lucas Duailibe 1c8dd0c1e7 more stuff 2018-04-12 13:28:28 -03:00