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 (Union[Path, str, None]) – 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 (Optional[dict]) – Meta-information for document head.