Skip to content
Version 1.2.0

- A big rewrite of the way elements are handled to boost export speed.
  Elements are now given a fountain-element text property instead of
  just a face property. This means that Font Lock won't need to
  refontify the entire buffer on export, so if you've been working on a
  screenplay for a while, Font Lock will have already fontified most of
  the buffer in the background, making exporting take a couple of
  seconds. (On the other hand, if you open a Fountain file and export
  right away, or change any font settings that trigger
  font-lock-refresh-defaults then you'll still need to wait.)
- A big change to the faces used. In prior versions, there were
  fountain-ELEMENT faces and fountain-ELEMENT-highlight faces, but the
  former were mostly the default face. This slowed down Emacs. Now there
  are only fountain-ELEMENT faces, and they are applied as per the level
  of font-lock-maximum-decoration. For an explanation of which faces are
  used at which level of decoration, see the fountain-faces group
  documentation.
- Added support for emphasis (bold, italic, underlined text) and the
  ability to toggle the visibility of the emphasis delimiters.
- Also added a toggle for visibility of escaping characters (e.g. as
  used in forced scene headings, centered text, forced transitions,
  etc.).
- Added the "Navigator" (occur) functions to the menu.
- Scene navigation and selection now adheres to section headings (not
  sure if this is right way to go?)
- A big cleanup of documentation.
- Added the README content to the header Commentary
- Combined a few functions for efficiency.

There's currently a workaround for the implementation of visibility
toggling: if the mode starts with buffer-visibility-spec set to t it
would cause a bunch of things to become invisible (unwanted). If this is
the case the variable is set to nil. However, this is not foolproof, so
I'll continue testing it. If you experience any issues with things
becoming invisible when they shouldn't, please let me know on the
[Issues](https://github.com/rnkn/fountain-mode/issues/) page.