Skip to main content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Code formatting

Highlight code samples using the login.gov color palette.

Any pygments-compatible syntax highlighter will produce markup that is compatible with the code highlighting classes included.

Jekyll

Jekyll uses rouge, which is pygments-compatible. Use fenced code blocks within markdown, and code will be highlighted as expected:

```html
<div contenteditable>A HTML code sample.</div>
```

Output:

<div contenteditable>A HTML code sample.</div>