Getting Started
Prerequisites
Section titled “Prerequisites”- The LilyPond binary must be installed.
- Install the LilyPond binary, or run
brew install lilypond(Mac) orapt install lilypond(Linux). - Verify the install with
lilypond --version.
- Install the LilyPond binary, or run
- You should have an
astroproject runningv7.0or newer.
Installation
Section titled “Installation”-
Install
astro-lilypond.Terminal window pnpm add astro-lilypondTerminal window npm install astro-lilypondTerminal window yarn add astro-lilypond -
Add the integration to your Astro config.
astro.config.mjs import { defineConfig } from 'astro/config';import lilypond from 'astro-lilypond';export default defineConfig({integrations: [lilypond()],});See Configuration for available options.
-
Start writing LilyPond. See Usage for Markdown and component-based approaches.