adamkiss / vscode-eleventy-jstl-language

VSCode Support for JSTL in Eleventy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSTL Language Support JSTL

Installs Rating Support Chat

JSTL Language Support adds support for JavaScript Template Literal files in Visual Studio Code.

---
title: JSTL Support
features:
- slim and flexible
- better for configuration
---
<!doctype html>
<html>
  <head>
    <title>${title}</title>
  </head>
  <body>
    <h1>${title}</h1>
    <ul>
      ${features.map(feature => (
        <li>{feature.toUpperCase()}!</li>
      ))}
    </ul>
  </body>
</html>

This syntax is applied to .jstl files. It is also applied to jstl code blocks in Markdown, and also to <script type=text/jstl> code blocks in HTML.

Usage

JavaScript Template Literal files can be used in:

Installation

  1. Open the command palette and select Extensions: Install Extensions
  2. Search for JSTL Language Support
  3. Click Install

About

VSCode Support for JSTL in Eleventy