"Autocomplete"


Drafts includes an extensible system to provide drop-down autocomplete suggestions while typing in the editor. Autocomplete includes a global system for creating and inserting text snippets, as well as additional autocomplete suggestions provide by syntax definitions

Table of Contents

  1. Global Autocomplete Suggestions
    1. Using Template Tags
  2. Syntax-Specific Autocomplete Suggestions

Global Autocomplete Suggestions

Global autocomplete is enabled on the “Autocomplete” tab on the Editor Preferences window, access via the Aa button at the lower right of the editor, or via Drafts > Editor Preferences... in the main menu.

editor/autocomplete-global
editor/autocomplete-global

To use global autocomplete, configure the following values:

Using Template Tags

If the “Process Template Tags” option is enabled, autocomplete item names and values will be passed through the Drafts template engine before use. This allow dynamic insertion of values such as dates/times, location information, and more. For details on available tags, see the Templates article.

Syntax-Specific Autocomplete Suggestions

The built-in Markdown syntaxes provide two additional default autocomplete suggestion triggers:

Custom syntax definitions may include additional autocomplete definitions. Consult documentation for any installed custom syntaxes for capabilities they may provide.


Download on App Store Download on Mac App Store

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

-"Autocomplete"