Link Search Menu Expand Document

Navigation

If you write longer drafts in a structured format like Markdown, Drafts can help navigate to key locations with the navigate view accessed via the down arrow icon near the top right of the screen.

The navigate view can also be used to quickly navigate to other recently edited drafts.

Table of Contents

  1. Navigation Menu
  2. Recent Drafts Mode
  3. Quick Links
  4. Custom Navigation Markers

To access the navigator, tap the down arrow icon in the top right - or ⌘-\ on an external keyboard. If any navigation marks are found in your draft, a list will appear with those items. Top an item and the editor will place the cursor in the draft at that position and scroll it into view.

iOS Mac

editor/navigate

What marks are found depending on the syntax select for the current draft. The initial implementation finds the following markers:

  • Markdown: And Markdown headers using the “#” header syntax. Header levels are identified and indented.
  • Taskpaper: And Taskpaper projects, using the “Project Name:” syntax.
  • Javascript: Traditional function declarations in the format “function name() {}”, and region mark comments in the format “// #region RegionName”.

Recent Drafts Mode

You can also select “Recent Drafts” mode in the navigation window to see a list of recently edited drafts. Tap on a draft in this list to load it in the editor. If the navigator finds no marks in the current draft, this mode will be enabled by default in the navigate window, making it a great way to quickly jump back and forth between several drafts.

At the bottom of the navigate view, there are also quick links to move to the top or bottom of the text - or to select all text in the editor.

Custom Navigation Markers

The navigation menu is generate based on Navigation Patterns defined in the syntax highlighting definition used for the draft. If you have needs for custom markers in the text, look into implementing a custom syntax definition.


Download on App Store Download on Mac App Store

© 2012-2022 by Agile Tortoise, Inc.
Drafts is a registered Trademark of Agile Tortoise, Inc.
Privacy | Terms