WebCoder49 / code-input-for-typescript

Fully customisable, editable syntax-highlighted textareas [TypeScript example project].

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

code-input for TypeScript

Main Library

Fully customisable syntax-highlighted textareas with TypeScript Bindings for frontend use.

Using code-input with many different themes

What is this?

This is a repository that houses getting-started materials and demo files for the code-input library's TypeScript bindings (.d.ts files). Here's how to get started with TypeScript and code-input:

1. Set up TypeScript

2. Set up Code-Input with your project.

  • Clone all of the files in this repository into a folder, including the code-input library.
  • Uncomment one of the demo JS files in the <head> of index.html.

3. Run the project.

  • Edit the corresponding demo TypeScript file if wanted.
  • Compile the TypeScript with the command: tsc

For descriptions of library functionality, please see the main code-input library or the TypeScript declaration comments.

About

Fully customisable, editable syntax-highlighted textareas [TypeScript example project].

License:MIT License


Languages

Language:TypeScript 74.8%Language:HTML 25.2%