eelbrain.fmtxt.save_html

eelbrain.fmtxt.save_html(fmtext, path=None, embed_images=True, meta=None)

Save an FMText object in HTML format

Parameters:
  • fmtext (FMText) – Object to save.

  • path (Path | str) – Destination filename. If unspecified, a file dialog will open to ask for a destination.

  • embed_images (bool) – Embed images in the HTML file (default True). If False, a separate folder containing image files is created.

  • meta (dict) – Meta-information for document head.