An editor that changes with what you write

A paper, a novel and a screenplay have no reason to share one screen. Pick a mode and the setting, the counts and the tools change together. The text stays; only the way it appears moves.

Manuscript

Chapters and scene breaks, for the long haul.

What this mode turns on

  • Dividers render as scene breaks instead of rules
  • Progress is measured in manuscript pages and A4 pages
  • A chapter outline sits on the right so structure stays visible

Setting

Measure
34rem
Typeface
Serif
First line indent
On
Leading
1.95

Use it in an embed

The same mode is available on the site you embed into.

<div id="typdit-editor"></div>
<script src="https://typdit.com/embed/v1.js"></script>
<script>
  Typdit.create(document.getElementById('typdit-editor'), {
    writingMode: 'book',
  });
</script>

Build the mode you are missing

Start from the nearest mode and change a few fields. That is enough for cases like meeting notes or a journal, which differ from an existing mode by one or two things.

Typdit.create(el, {
  writingMode: {
    id: 'minutes',
    extends: 'techdoc',
    label: 'Meeting notes',
    goal: { unit: 'words', target: 400 },
    layout: { measure: '32rem', numberHeadings: false },
  },
})

The mode is not saved into the document

A mode is a viewer setting, so opening the same document in another mode leaves the content untouched. What the mode created, footnotes, screenplay blocks, scene breaks, renders in every mode.