Skip to main content
Ctrl+K
Leo - Home Leo - Home
  • Leo: organize code and ideas your way
  • Documentation
    • Preliminaries
      • Technical introduction to Leo
      • What People are Saying about Leo
      • Acknowledgements
      • Leo’s MIT license
    • Getting Started
      • Installing Leo
      • Running Leo
    • Tutorials
      • Leo in 20 Minutes
      • Using Leo as a Personal Information Manager
      • Creating Documents from Outlines
      • Writing Leo scripts in Python
      • Useful Tips
    • Users Guide
      • Clickable links
      • Leo’s Markup Language
      • Customizing Leo
      • Plugins
      • Leo’s Commands Reference
      • Directives Reference
    • Leo and other programs
      • Using Leo with Jupyter Notebooks
      • Leo and Asciidoctor
      • Leo and Emacs, including org mode
      • Using Vim with Leo
      • Embedding Leo with the leoBridge module
      • Leo’s WebSocket Server
    • Advanced Topics
      • Writing Plugins
      • Debugging with Leo
      • A Miscellany of Leo Scripting
      • Exploring Leo’s Code Base
      • Vim Mode: Theory of Operation
      • The Leonine World
      • Leo University
    • Appendices
    • What's New
    • Release Notes
    • More links
      • FAQ
      • Cheat Sheet
      • Code Snippets
      • Tutorial slides
        • Clones and views
        • Using external files
        • Leo’s Basics
        • Scripting Leo
        • Using the minibuffer
      • Screen shots
      • Screencasts
      • History of Leo
      • Glossary
      • Still more links
  • Repository
  • Open issue
  • .html.txt

Using external files

Using external files#

  • About external files
  • Loading and saving files
  • Sentinel lines
  • External files without sentinels
  • Using @file trees
  • Top-level markup
  • Section references
  • Section definitions
  • The @others directive
  • References & expansions
  • Indentation
  • More about indentation
  • More about expansions
  • Orphan nodes
  • A common pattern
  • SpamClass
  • EggsClass
  • Alternatives to @file
  • Using @auto nodes
  • @auto example
  • Using @edit nodes

previous

Views concentrate data

next

About external files

© Copyright 1997-2026, Edward K. Ream.

Last updated on August 18, 2026.