wtsuite

package module
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

README

Introduction

wtsuite is a collection of transpilers for html5

More information can be found here

Installing binaries

Binaries can be downloaded here

Installing from source

Instructions for linux

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

Dependencies

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

There should be no runtime dependencies

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