PlutoLiveExport.jl

๐Ÿš€ Keep an updated export of every notebook you edit for quick viewing and publishing!
Author ctrekker
Popularity
3 Stars
Updated Last
3 Years Ago
Started In
January 2022

PlutoLiveExport.jl

Keep an updated export of every notebook you edit for quick viewing and publishing! ๐Ÿš€

Installation

(@v1.7) pkg> add PlutoLiveExport

Usage

Use the following code to start Pluto instead of the standard Pluto.run way.

using Pluto, PlutoLiveExport
Pluto.run(; on_export=live_export())

Make sure to call live_export as a function (live_export())

By default this will automatically make exports to ~/Documents/Pluto Exports every time you make a change in a notebook. You can change where these exports get placed by providing a path to the export_path keyword argument.

using Pluto, PlutoLiveExport
Pluto.run(; on_export=live_export(; export_path = "/my/export/path"))

Export Configuration

The only positional argument of live_export is format, which can be used to switch export formats from the default of HTML. The currently supported export formats are:

  • html
  • statefile

As an example, to export to statefiles we would use live_export("statefile").

what's a statefile??

To export into multiple formats simultaneously, pass a vector of formats instead.

live_export(["html", "statefile"])

Keyword Arguments

List of keyword arguments for live_export:

  • export_path - Folder that exports are saved in
  • that's it for now :)

Used By Packages

No packages found.