View source: R/knit_functions.R
start_server | R Documentation |
This function starts an http server with the QTIJS renderer. The renderer performs the conversion of qti.xml into HTML.
start_server()
The server has to be started manually by the user, otherwise the Knit Button will not work. The Button starts a new session and invoking a server there does not make much sense.
The URL string for QTIJS server.
## Not run:
# Initiated server in qtiViewer folder
start_server()
# Initiated server in a specific folder provided by the user. This folder
# contains the QTI renderer
start_server("/pathToTheQtiRenderer/")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.