Engage your users, downrun your Markdown. Make it live with our low-code, document based approach!
Math for big numbers, complex numbers, fractions, units, strings, arrays, and matrices (see example below).
LaTeX Math rendering and computation (soon).
Coming Soon: Ability to include another file.
Coming Soon: Questionnaires and forms to support interactive training, running surveys or reporting survey results.
and more … but this list is getting a little long. Vote for what you want by liking enhancements at Downrunner Support.
See what is NEW this week.
Actually did this:
var message = 'Hello World!'
target.innerText = message; console.log(message);
Try editing the message and see what happens to both the page and the console output >
Try typing a math expression into the console, e.g.
1 + 1 or
sqrt(10) or even
See MathJS for the full range of functions. You do not need to
prefix them with
How hard is it to make your Markdown live? It’s not. Below are the simple
Downrunner commands are just placed in special HTML comments after backtick fenced items or Markdown elements, e.g. links, they control. They will be safely ignored until your file is served after conversion to an HTML file and processed by Downrunner.
The values of
target are HTML element ids or markdown anchors that take the form
(value). If the elements do not exist, they will be created sequentially after the backticked
element that references them. If they do exist, they will serve as containers for placing output.
The value of
for points to a primary
downrunner element. It exists so that segments can be split for easier reading or management. Sections with this tag are all assembled at once for rendering
target of the primary tage. If you do not provide a
target id, then the results of the code block are hidden.
target id can only exist on the primary
downrunner element. Each
downrunner element can have its own editor.
expose tells the engine to display the source of the
downrunner enclosed items including the
downrunner tags if
true. See how for
the second source, the tags are not shown.
You can add
closure to tell the Downrunner engine to wrap the code in a closure to avoid scope pollution. If code is not wrapped in a closure,
then scripts further down in the document will haver access to newly declared variables (which may be what you want!). You will also need to use a closure if your
sample code includes a
try/catch block outside of a function call. Alternatively, you can provide
async:true if you need to use
await in your code example.
Note that for console, we have also required
Although it is unlikely that most downrunnable Markdown sites will be subject to attack or useful to a hijacker, Downrunner takes this threat serioulsy. We attempt
to sandbox user entered code execution in special
iframes, the shadow DOM and Web Workers. While in BETA we know there are gaps in our protection and we are working to close them.
|Warranty||License||Terms and Conditions|
Copyright AnyWhichWay, LLC 2020.