Editor
The Armquill editor is where you write, compile, and preview your documents. This page covers the editor layout, compilation, file management, and keyboard shortcuts.
Table of Contents
- Layout Overview
- Resizable Panels
- Compiling Documents
- Supported Compilers
- File Management
- Supported File Types
- Keyboard Shortcuts
Layout Overview
The editor is divided into three main areas:
- File Panel (left): Browse and manage your project files and folders
- Editor (center): Write and edit your document with syntax highlighting
- Preview (right): See the compiled output of your document
Resizable Panels
You can resize the three panels by dragging the dividers between them. This lets you allocate more space to whichever area you're focused on — for example, expanding the editor when writing or the preview when reviewing output.
You can also collapse panels entirely to focus on a single area. Click the collapse button on a panel divider to hide that panel, and click it again to restore it.
Compiling Documents
To compile your document:
- Click the Compile button in the toolbar, or
- Use the keyboard shortcut
Ctrl/Cmd + Enter
The compilation runs in the background and the preview updates automatically when complete. If there are errors, they will be shown in the error panel below the editor.
You can select the output format (PDF, HTML, EPUB, etc.) from the dropdown next to the compile button. The available formats depend on your document type. See Output Formats for details.
Supported Compilers
Armquill supports multiple document types, each with its own compiler:
- LaTeX: pdflatex, xelatex, lualatex (automatic fallback on failure)
- Typst: Native Typst compiler
- AsciiDoc: Asciidoctor with PDF, EPUB, and HTML backends
- Markdown: Pandoc with LaTeX, HTML, EPUB, and Reveal.js backends
File Management
The file panel on the left lets you manage all files in your project. Right-click on a file or folder to access the context menu with the following options:
- Create files: Right-click and select "New File"
- Create folders: Right-click and select "New Folder"
- Upload files: Drag and drop files into the file panel, or use the upload button
- Upload ZIP archives: Upload a ZIP file to extract its contents into the project
- Rename: Right-click on a file or folder and select "Rename"
- Delete: Right-click and select "Delete"
- Download: Right-click and select "Download" to save a copy locally
Supported File Types
You can upload and work with a wide range of file types in your projects:
- Images: PNG, JPG, SVG, PDF
- Bibliography: .bib files
- LaTeX packages: .sty, .cls files
- Fonts: .ttf, .otf files
- Stylesheets: .css, .scss files (for EPUB and HTML output)
- Data files: .csv, .json, .yaml
The maximum file size is 10 MB per file. All uploads are scanned for security.
Keyboard Shortcuts
| Action | Windows/Linux | Mac |
|---|---|---|
| Compile | Ctrl + Enter |
Cmd + Enter |
| Save | Ctrl + S |
Cmd + S |
| Find | Ctrl + F |
Cmd + F |
| Find and Replace | Ctrl + H |
Cmd + H |
| Bold | Ctrl + B |
Cmd + B |
| Italic | Ctrl + I |
Cmd + I |