├── .gitignore
├── .vscode
└── launch.json
├── CHANGELOG.md
├── LICENSE
├── README.md
├── docs
├── logo.png
└── logo.svg
├── package.json
└── syntaxes
├── literally-html-string-injection.json
└── literally-html.json
/.gitignore:
--------------------------------------------------------------------------------
1 | out
2 | node_modules
3 | *.log
4 | .DS_Store
5 | *.vsix
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | // A launch configuration that launches the extension inside a new window
2 | {
3 | "version": "0.1.0",
4 | "configurations": [
5 | {
6 | "name": "Launch Extension",
7 | "type": "extensionHost",
8 | "request": "launch",
9 | "runtimeExecutable": "${execPath}",
10 | "args": ["--extensionDevelopmentPath=${workspaceRoot}" ]
11 | }
12 | ]
13 | }
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Change Log
2 |
3 | ## 0.0.1 - February 15, 2018
4 | - Added adopt and wire to the list of known words. TODO: maybe just drop the list all-together?
5 |
6 | ## 0.0.0 - February 15, 2018
7 | - Yo I heard you like html so I added syntax highlighting for html templates
8 |
9 | ## 1.2.0 - January 29, 2018
10 | - Yo I heard you like html so I added syntax highlighting for lit html templates inside of html script blocks
11 |
12 | ## 1.1.0 - January 12, 2018
13 | - Pick up new plugin version that adds completion entry details and fixes some bugs.
14 |
15 | ## 1.0.0 - January 11, 2018
16 | - Highlight JS substitutions in html string attributes
17 | - Adds html language support: IntelliSense, hover, formatting. Requires VS Code 1.20
18 |
19 | ## 0.2.0 - December 13, 2017
20 | - Support spaces after html tag. Thanks @mhoyer!
21 | - Support `obj.html` style tags. Thanks @mhoyer!
22 |
23 | ## 0.1.0 - December 7, 2017
24 | - Support spaces before html tag. Thanks @simonwjackson!
25 | - Support for bel/choo `raw` tag. Thanks @simonwjackson!
26 |
27 | ## 0.0.4 - October 12, 2017
28 | - Fix syntax highlighting kicking in inside of strings
29 |
30 | ## 0.0.1 - October 10, 2017
31 | - Initial release
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) Microsoft Corporation
2 |
3 | All rights reserved.
4 |
5 | MIT License
6 |
7 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
8 | files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,
9 | modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software
10 | is furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
15 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
16 | BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
17 | OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # literally HTML
2 |
3 | - - -
4 |
5 | ## WARNING
6 |
7 | This project is inferior and not maintained as much as [htmx-literals](https://marketplace.visualstudio.com/items?itemName=lehwark.htmx-literals) is.
8 |
9 | There is also [leet-html](https://marketplace.visualstudio.com/items?itemName=EldarGerfanov.leet-html) as alternative or [lit-html](https://marketplace.visualstudio.com/items?itemName=bierner.lit-html) so please consider using these instead as I am not planning to spend time on this any time soon.
10 |
11 | - - -
12 |
13 | A library agnostic fork of [vscode-lit-html](https://github.com/mjbvz/vscode-lit-html)
14 | which aim is to bring syntax highlighting and language support for HTML inside of
15 | any JavaScript and TypeScript tagged template strings.
16 |
17 | > **❗Important**: IntelliSense and language support requires VS Code 1.20+.
18 |
19 | ### Example
20 |
21 | ```js
22 | hyper(document.body)`
23 |