Skip to main content

AI-Enforced Style Guides

Build and manage your content style guide in Ditto, and enforce the rules with AI.

Updated over 2 weeks ago

Document your product copy rules, and build your content design system with Ditto style guides. Build out each rule or import your existing style guide into Ditto, to document standards around tone, language, formatting, and more. Use Ditto's default style guide or create your own, then leverage Ditto’s AI capabilities to enforce your style guide as you, or your teammates, draft new copy.


Style guide basics

Your style guide contains a prewritten set of rules to enforces your product copy standards. Ditto's AI will use these rules to edit all the text in your projects (whether you've imported it to Ditto or not!) and surface any suggestions through our Magic Edit AI.

Use style guides rules to...

  • Build a glossary of approved and disapproved words

  • Provide voice and tone guidelines

  • Outline approved sentence structures

  • Add text formatting and linting

See all your style guides by navigating to the Style guide tab in the web app.


Create your custom style guide

Ditto provides a default style guide for you to use in your projects, but you can also create your own style guides and custom rules. Refer to your workspace to see the limits on the number of style guides and rules.

Create a style guide:

  1. Click + New style guide

  2. Name your style guide and click Create

Create a rule

When you add a new rule, you have to provide at least one example to train your AI model, so it understands the context to appropriately apply the rule to your copy. The more specific you are, and the more examples you provide, the better the suggestions will be.

Create a rule:

  1. Click + Add rule in your style guide

  2. Give the rule a name and description

  3. [Optional] Add target tags so the AI knows which text items to apply this rule to. If no tags are included, the rule will be applied to all text items in your project

  4. Provide at least one example, then click Add rule

💡 For vocabulary, formatting, and general best practices, it’s possible to only provide the do examples and skip the don’t

Delete a rule

  1. Click on the rule you want to delete in your style guide

  2. Click Delete

Delete a style guide

  1. Click the menu and select Delete style guide

  2. Enter the name and click Delete

Enable a style guide for Ditto projects

Enable or disable specific style guides for each Ditto project to ensure that only the relevant rules are enforced.

Enable/disable a style guide for a project from the plugin:

  1. Click in the Figma plugin and select Settings

  2. Enable or disable the relevant style guides for this project

Enable/disable a style guide for a project from the web app:

  1. Click in the web app and select Style guides

  2. Enable or disable the relevant style guides for this project

Enable a style guide by default for all projects

For commonly used style guides, enable them to be on by default so its rules are automatically used in all projects. Newly created style guides are enabled by default.

Enable a style guide to be on by default:

  1. Select the relevant style guide

  2. Toggle the guide to be Enabled by default

💡 Style guide enabled by default can be disabled for specific projects

Did this answer your question?