Skip to main content
Module

x/deno_tag/code.ts

A cli command that allows you to write `<deno>` tags in your html files.
Latest
import * as denoTag from "https://deno.land/x/deno_tag@v1.1.0/code.ts";

Functions

The main function of deno-tag, it does three things:

  1. Looks for <deno> tags on the supplied text and reads their attributes
  2. Runs deno for each found <deno> tag
  3. Creates a new text where each <deno> tag is replaced by the output of its respective run (from the previous point)

Interfaces

Optionally the denoTag() function can be IO free, all IO is optional and can be set through its second argument, which expects an object of this type.