Private namespace of TeXMe. The members of the inner namespace are inaccessible outside TeXMe.
Members
(static) markdown :object
The markdown module is loaded and assigned to this variable.
Type:
- object
(static, constant) options :object
Configuration options object. Each configuration option is set as a property of this object.
Type:
- object
(static, constant) styles :string
A map of available CSS styles.
Type:
- string
Properties:
Name | Type | Description |
---|---|---|
plain |
string | Plain white background |
viewer |
string | White pane on gray background |
none |
string | No style whatsoever (browser defaults) |
Methods
(static) loadjs(url, callback)
Load JS in browser environment.
Parameters:
Name | Type | Description |
---|---|---|
url |
string | URL of JavaScript file. |
callback |
function | Callback to invoke after script loads. |
(static) setWindowOptions()
Read configuration options specified in window.texme
and
configure TeXMe.