wtsuite

package module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

README

Introduction

wtsuite is a collection of transpilers and other tools for html5 technologies

Documentation can be found here

Build dependencies

  • shell
  • make
  • libfreetype-dev (v2)
  • python3-fonttools
  • fonts-freefont-ttf

There should be no runtime dependencies

Compiling and installing on linux

Running make builds everything. Running make install builds and installs into /usr/local/bin.

VIM syntax/indentation

In your ~/.vimrc or ~/.config/nvim/init.vim file:

au BufNewFile,BufRead *.wtt set filetype=wtt
au BufNewFile,BufRead *.wts set filetype=wts
au BufNewFile,BufRead *.glsl set filetype=glsl

Run make install-vim to install the relevant syntax/indentation files.

License

GPLv3

Documentation

Overview

exported wtsuite module package for 'online' transpilation by web-servers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transpiler

type Transpiler struct {
	// contains filtered or unexported fields
}

func NewTranspiler

func NewTranspiler(compact bool, mathFontURL string) *Transpiler

func (*Transpiler) ClearCache

func (t *Transpiler) ClearCache()

func (*Transpiler) TranspileTemplate

func (t *Transpiler) TranspileTemplate(path string, name string, args_ map[string]interface{}, cacheResult bool) ([]byte, error)

template doesnt need to be exported though

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL