Introduction

First of all you need to download WOKit files or include CDN links to your project.
File wo.css is a main style file, key.css for icons support.

WOKit on CDN

All version of wokit available on jsDelivr.net

Markup

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/mikhailrepka/wokit@latest/lib/key.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/mikhailrepka/wokit@latest/lib/wo.min.css" />
<script src="https://cdn.jsdelivr.net/gh/mikhailrepka/wokit@latest/lib/wo.min.js"></script>

Self hosted

First download files, then unzip it and include to your code.

Markup

<link rel="stylesheet" href="/path/to/key.css" />
<link rel="stylesheet" href="/path/to/wo.min.css" />
<script src="/path/to/wo.min.js"></script>

Where /path/to/ is folder that locate downloaded files.

Quick start

This is template for blank Hello world! index.html file with wokit included in it.

Markup

<!doctype html>
<html>
	<head>
		<title>Hello world!</title>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
		
		<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/mikhailrepka/wokit@latest/lib/key.min.css" />
		<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/mikhailrepka/wokit@latest/lib/wo.min.css" />
	</head>
	<body>
		
		<!-- js -->
		<script src="https://cdn.jsdelivr.net/gh/mikhailrepka/wokit@latest/lib/wo.min.js"></script>
	</body>
</html>

Browser support

The following table list the versions that WOKit is tested on.

Safari Safari Latest
Firefox Firefox Latest
Chrome Chrome Latest
Edge Edge Latest
Opera Opera Latest