Using external libraries

Paid account only

Including JavaScript based on their URL is only possible on a paid account. Documents including external JavaScript files will fail on a free account.

If you need to use a library that transforms your text, applies filters to images or say… inserts charts in your Document, you can import them like you would do in a normal HTML page.

Imagine you’re writing a technical documentation and you want to automatically add syntax highlighting. You could import the Prism library:

<pre><code class="language-ruby">class Greeter
  def say_hello(name: "Jane")
    puts "Hello #{name}!"

<link href="" rel="stylesheet" />
<script src=""></script>
<script src=""></script>
pageIncluding charts in your DocumentspageDebugging your JavaScript

Last updated