Skip to content

Syntax highlighting on new files

Syntax highlight is now available when creating a file from the web. Previously it was only available when editing a file that was already committed.

Highlighting is based on the new file's extension. Learn more about syntax highlighting.

New file with .md and .rb syntax highlighting

You can now attach files, including images, to markdown files while you're editing them in the web. This works just like file attachments in issues and pull requests and supports the same file types. Just drag and drag, click and select, or paste.

Drop to upload a gif

Note: If you add an image to a markdown file, anyone can view the anonymized image URL without authentication, even if the markdown file is in a private repository. To keep images private, serve them from a private network or server that requires authentication. For more information on anonymized URLs see "About anonymized image URLs".

See more