Giter Club home page Giter Club logo

content-style-guide's Introduction

Welcome to the MailChimp Content Style Guide

This style guide is primarily for MailChimp employees, but we hope it’s helpful to other organizations as well.

If you're looking for the MailChimp Content Style Guide website, visit styleguide.mailchimp.com.

Whether or not you work at MailChimp, we welcome your thoughts and suggestions. To learn more about sending us feedback or adapting this guide to create your own, see the Contributing file.

If you’re forking this style guide, here are some formatting tips.

Creating a New File

This guide is a collection of Markdown files. This is a plaintext format that easily converts to HTML. Read more about it here. Be sure you name your files without spaces with either an .md or .markdown extension.

The files in this guide are prefixed with a double digit to set order. Make sure your file starts with a number that will place your new content in the desired position (eg: 04-) and change the prefixes of the other files to reflect this change in order.

Markdown

Markdown is handy because you can write your content without HTML tags. Here are some tips to help you control the layout of your text.

Line Breaks

If you want a line to break to the next line but don’t want to start a new paragraph, end the line with two spaces. This will render a <br> tag.

Widows

The best way to prevent widows is to type &nbsp; in the space between the last two words in a title or paragraph.

Tables

Tables can be written in Markdown by following this general style:

| header 1 | header 2 |
| -------- | -------- |
| cell 1   | cell 2   |
| cell 3   | cell 4   |

The spacing is not important for the table to be rendered properly, and the cells do not have to line up. However it does help with readability when creating and editing tables.

HTML Tags in Text

When displaying HTML tags as text in content, be sure to wrap them in backticks, eg: `<h3>`.

content-style-guide's People

Contributors

rachaelmaddux avatar katekieferlee avatar alancrissey-mc avatar therealalan avatar alexlehner avatar adamhollett avatar ike avatar jordanandree avatar kale-mc avatar peteypii avatar prayagverma avatar stevenosloan avatar yanglindayang avatar pwnela avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.