VS Code Setup
VS Code Setup
Section titled “VS Code Setup”FrontMark is mainly a Markdown renderer. The daily authoring loop should stay in Markdown files, while VS Code extensions help with syntax, navigation and small implementation tasks around Astro, Svelte and YAML.
Recommended Extensions
Section titled “Recommended Extensions”| Extension | Marketplace ID or search term | Use in FrontMark |
|---|---|---|
| Astro | astro-build.astro-vscode | Edit src/pages/**, Starlight overrides, Astro components and route logic. |
| Codex | Codex | Save time on focused implementation tasks, reviews and test-driven edits from inside the editor. |
| Continue | Continue.continue | Alternative AI assistant when you want a local or provider-configurable workflow instead of Codex. |
| Markdown All in One | yzhang.markdown-all-in-one | Markdown editing comfort: lists, tables, links, folding and document navigation. |
| Svelte for VS Code | svelte.svelte-vscode | Edit svelte-components/src/** with Svelte diagnostics and component awareness. |
| YAML | redhat.vscode-yaml | Edit site.config.yaml, frontmatter and generated CMS configuration safely. |
Install Codex or Continue according to your workflow; both at once is possible, but one active coding assistant is usually easier to reason about during reviews.
FrontMark Editing Workflow
Section titled “FrontMark Editing Workflow”- Write content in
src/content/docs/*.mdwhenever the page is documentation. - Use Astro files only for application routes, wrappers, custom layouts or integration code.
- Use
::: sveltewhen Markdown needs an interactive component without creating a dedicated Astro page. - Run
make devwhile authoring and keep the browser preview open. - Run
make build,make svelte_testormake n8n_testbefore publishing when the page uses generated components.
AI Assistant Notes
Section titled “AI Assistant Notes”Codex is useful for code-aware changes because it can inspect the repository, edit files and run validation commands. The official Codex IDE extension documentation is available from OpenAI: Codex IDE extension.
Continue is useful when you want to wire a specific model/provider stack in VS Code. Keep prompts scoped: one page, one component, one failing test or one rendering issue at a time.
Useful Workspace Settings
Section titled “Useful Workspace Settings”{ "editor.wordWrap": "on", "files.associations": { "*.md": "markdown", "*.mdx": "markdown" }, "markdown.validate.enabled": true, "yaml.validate": true}Avoid formatting tools that rewrite indented tab examples or fenced directive blocks automatically. In FrontMark documentation, indentation is sometimes part of the syntax being demonstrated.