Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 978 Bytes

README.md

File metadata and controls

57 lines (35 loc) · 978 Bytes

markdown components

Typescript lit-element for wysiwyg markdown web component editor.

Setup

Install dependencies:

npm i

Build

To build the JavaScript version:

npm run build

To watch files and rebuild when the files are modified, run the following command in a separate shell:

npm run build:watch

Testing

Tests can be run with the test script:

npm test

Dev Server

To run the dev server and open the project in a new browser tab:

npm run serve

There is a development HTML file located at /dev/index.html that you can view at http://localhost:8000/dev/index.html.

Editing

If you use VS Code, we highly reccomend the lit-plugin extension.

The project is setup to reccomend lit-plugin to VS Code users if they don't already have it installed.

Linting

To lint the project run:

npm run lint