✅ Overview

Scimax VS Code implements several features that are not part of the official org-mode syntax specification at https://orgmode.org/worg/org-syntax.html. These features are inspired by Emacs packages like org-ref and scimax, and provide additional functionality for scientific writing.

This document describes these non-standard features and their behavior during export.

✅ Emacs-style Command Markup

The command markup syntax `command' (backtick text single quote) is used in Emacs documentation to reference commands, functions, and key sequences.

This renders with dark red highlighting in the editor (with the Leuven theme).

✅ Keybinding

KeyCommandDescription
C-c 'scimax.markup.commandInsert command markup

When text is selected, it wraps the selection. Otherwise, it inserts the markers and positions the cursor between them.

✅ Export Behavior

✅ HTML Export

Command markup is exported as <kbd> elements:

`my-command' → <kbd>my-command</kbd>

The <kbd> element is semantically appropriate for keyboard input and command names.

✅ LaTeX Export

Command markup is exported as \texttt{}:

`my-command' → \texttt{my-command}

✅ Why Non-Standard?

  • This syntax is not part of the org-mode specification

  • Standard org code markup uses code or verbatim

  • The `command' style is specific to Emacs/Elisp documentation conventions

  • We implement it for Emacs users who are familiar with this convention and because we think it looks nicer.

✅ Alternatives

If you need portable org documents, use standard markup:

Our SyntaxStandard AlternativeDescription
`command'commandOrg code markup
`command'commandOrg verbatim markup

✅ Future Non-Standard Features

This section will be updated as additional non-standard features are added.

✅ Navigation