/

For the complete documentation index, see llms.txt. This page is also available as Markdown.

Packages

A package, called an atom, is a published, reusable bundle of Quarkdown sources and assets.

You can find the official catalog on Quarkdown Atoms.

Using a package

Reference a package from .include with the @scope/name:version syntax.

Example 1

.include {@atoms/cowsay:1.0.0}

.cowsay {Hello, Quarkdown!}

Hello, Quarkdown!

🐄

The first time a document references a package, Quarkdown downloads it into your project:

  • my-project
    • @atoms
      • cowsay
        • atom.toml
        • main.qd
        • …
  • main.qd

Installing packages is covered by the package-install permission, which is granted by default.

Version control

Whether to gitignore the @atoms directory or not is not enforced. Keep it tracked for offline builds, or ignore it for full reproducibility.

Publishing a package

See Publishing packages to set up your own package, and follow the instructions on quarkdown-labs/atoms to publish it to the official repository.