# literally-html

> Syntax highlighting for html inside of JavaScript and TypeScript tagged template strings

Latest version **0.1.1** (published 2019-02-07) · 0 weekly downloads

## Install

```sh
npm install literally-html
pnpm add literally-html
yarn add literally-html
bun add literally-html
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2019-02-07 |
| First published | 2018-02-15 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 39.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 34 |
| Maintainers | webreflection |
| Keywords | hyper, lit, html, javascript, template |

## Links

- npm: https://www.npmjs.com/package/literally-html
- Repository: https://github.com/WebReflection/vscode-literally-html
- Homepage: https://github.com/WebReflection/vscode-literally-html#readme
- Issues: https://github.com/WebReflection/vscode-literally-html/issues
- npm.io page: https://npm.io/package/literally-html

## Dependencies (1)

- [typescript-lit-html-plugin](https://npm.io/package/typescript-lit-html-plugin.md) 0.2.0

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2019-02-07
- 0.1.0 — 2019-01-03
- 0.0.5 — 2018-03-15
- 0.0.4 — 2018-02-27
- 0.0.3 — 2018-02-16
- 0.0.2 — 2018-02-15
- 0.0.1 — 2018-02-15
- 0.0.0 — 2018-02-15

## README

# literally HTML

A library agnostic fork of [vscode-lit-html](https://github.com/mjbvz/vscode-lit-html)
which aim is to bring syntax highlighting and language support for HTML inside of
any JavaScript and TypeScript tagged template strings.

> **❗Important**: IntelliSense and language support requires VS Code 1.20+.

### Example

```js
hyper(document.body)`
  <div class=${model.class}>
    ${model.greetings} !!!
  </div>`;

render`
  <ul>
    ${items.map(
      item => html`<li>${item.value}</li>`
    )}
  </ul>`;
```

## Usage

If simply installing through VS Code is not enough, maybe the following could help.

```sh
# within your project
npm install --save-dev literally-html

# create a jsconfig.json file with the following content
echo '{
  "compilerOptions": {
    "plugins": [
      {
        "name": "typescript-lit-html-plugin"
      }
    ]
  }
}' > jsconfig.json
```

---
_Source: https://npm.io/package/literally-html · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
