Getting Started

Web Editor

Build your documentation using Nuxt Studio web editor

Introduction

The Nuxt Studio web editor is a browser-based visual interface for creating, editing, and reviewing your documentation. It provides a preview experience while keeping your work in sync with your Git repository.

Learn more about Nuxt Studio in the Nuxt Content documentation.

Web Editor vs. CLI

The web editor of Nuxt Studio allows you to manage your documentation entirely from your browser. There is no need for local development tools or terminal commands. It’s ideal for maintaining your docs in one centralised place, with an easy tool without any Markdown skills required.

The CLI (Command Line Interface), on the other hand, is a local tool designed for developers who prefer working in their own IDE.

Both tools are fully integrated with Git, so you can switch between them as needed. Team members can choose whichever method suits their workflow best.

Two distinct editors

Nuxt Studio offers a versatile workspace for both developers and content writers, giving them the freedom to choose between two distinct editors for content creation and management: the Markdown editor and the Visual editor.

You can select your favorite editor from the settings page of your project.

Each editor serves its own purpose, some users are used to Markdown edition, while others prefer a non-technical, visual approach. At the end, Markdown syntax is the final output for both editors.

Markdown editor

Markdown editor for developers

The Markdown editor in Nuxt Studio provides full control over your content, allowing you to write directly you documentation in Markdown and integrate Vue components with the MDC syntax.

When your file is saved with the Markdown editor, the content is stored exactly as you've written it, preserving all specific syntax and formatting. This editor is ideal for users comfortable with Markdown who want precise control over the layout and structure of their content.

Visual editor

Visual editor for non technical users

The Nuxt Studio editor is heavily inspired by Notion, well known for its intuitive design and flexibility. Much like a standard text editor, the Studio editor is designed to be familiar and easy to use.

However, it stands out with its additional features that improve the writing experience:

Toolbar

Highlight your text to reveal the toolbar, giving you access to all the standard text editing features provided by the Markdown syntax:

  • Title formatting
  • Bold
  • Italic
  • Strike-through
  • Code
  • Link
  • Class
  • Bullet list
  • Numerated list

The / shortcut

Simply type / anywhere in the editor to access all Studio features.

Formatting features

  • Title formatting
  • Line break
  • Horizontal rule
  • Code-block
  • Paragraph
  • Bold & italic

Components

One of Studio's standout features is its ability to integrate and customize any complex component directly within the editor.

In other terms, all Nuxt UI components are usable and can be integrated directly from the editor. An editor can also tweak the component properties, slots and styles.

You can also create custom components and let the user integrate them from the visual editor.

Just type / to access the list of all the components available.

Images

Using the /shortcut, you can quickly insert an image by selecting the Image option. A modal will open to let you choose the media you want to insert.

From the media modal, you can set the alt attribute for SEO and accessibility purpose.

Videos

Using the / shortcut, you can quickly insert a video by selecting the Video choice and filling up the Video URL.

As soon as a video is added, a tab will automatically open with all the props field available by default, for you to fill out the URL and customize your media.

Live Preview

preview.png

Once your documentation is deployed, it provides a live preview feature that lets you instantly see updates to your project.

We're using your production website to override contents and display the new visual. This is why we need the URL to be set in the deploy section.

When you are editing your website with Studio, the live preview can be displayed on the right part of your screen. You get an instant feedback when typing. It syncs the preview based on your draft updates.

Making Changes

To edit your documentation:

  1. Browse files using the file explorer.
  2. Open a file by clicking on it.
  3. Edit content in either visual or Markdown mode. All edits are automatically saved as drafts.
  4. Preview your changes to see how they’ll appear when published.

Publishing Changes

When you’re ready to publish:

  • Click the Publish button in the top-right corner of the editor.
  • Your changes will be pushed directly to your deployment branch and go live immediately.