Files
test-repo/website/data/languages.yml
T
Christopher Chedeau c40b061b80 [vue] Introduce proper support for Vue Single File Components (SFC) (#3563)
There's a lot of demand for vue sfc (#2097). This introduces partial support for them: all the html is printed as is, except for the script and style tags which are printed using prettier. I believe that this should cover a lot of the use cases while being simple to support and if we want we can extend to more in the future.

I copy pasted the html parser used by vue (it's just a single 400 lines file) so that we don't run the chancesof conflicts. I'm also very conservative: I only print the style and script at the top level and for the lang attributes we support.

I expect this to be landable as is and provide value, review welcome :)
2017-12-25 01:15:33 +01:00

28 lines
961 B
YAML

- name: JavaScript
image: "/images/languages/js-128px.png"
variants:
- "[ES2017](https://github.com/tc39/proposals/blob/master/finished-proposals.md)"
- "[JSX](https://facebook.github.io/jsx/)"
- "[Flow](https://flow.org/)"
- "[TypeScript](https://www.typescriptlang.org/)"
- "[Vue](https://vuejs.org/)"
- "[JSON](http://json.org/)"
- name: CSS
image: "/images/languages/css-128px.png"
variants:
- "CSS3+"
- "[Less](http://lesscss.org/)"
- "[SCSS](http://sass-lang.com)"
- "[styled-components](http://styled-components.com) 💅"
- "[styled-jsx](http://npmjs.com/styled-jsx)"
- name: GraphQL
image: "/images/languages/graphql-128px.png"
variants:
- "[GraphQL](http://graphql.org/)"
- "[GraphQL Schemas](http://graphql.org/learn/schema/)"
- name: Markdown
image: "/images/languages/markdown-128px.png"
variants:
- "[CommonMark](http://commonmark.org/)"
- "[GitHub Flavored Markdown](https://github.github.com/gfm/)"