About 507,000 results
Open links in new tab
  1. Basic writing and formatting syntax - GitHub Docs

    To format code or text into its own distinct block, use triple backticks. ``` For more information, see Creating and highlighting code blocks. If you are frequently editing code snippets and tables, you may benefit from enabling a fixed-width font in all comment fields on GitHub. For more information, see About writing and formatting on GitHub.

  2. Creating and highlighting code blocks - GitHub Docs

    Share samples of code with fenced code blocks and enabling syntax highlighting. Who can use this feature? Markdown can be used in the GitHub web interface. You can create fenced code blocks by placing triple backticks ``` before and after the code block.

  3. What Is a Git Gist? A Quick Guide to Sharing Code Snippets

    A Git Gist is a lightweight way to share snippets of code or text using the Git version control system. Unlike traditional Git repositories that are mainly employed for larger projects, Gists allow developers to quickly share and collaborate on smaller pieces of code or notes.

  4. How do I commit code blocks in my git commit messages

    To Git and its command line tools (e.g. git log), commit messages are plain text, without any markup language. Hosting platforms like GitHub and third-party tools may interpret that plain text as some markup language in some context, but not necessarily in all contexts.

  5. Snippets | GitLab Docs

    With GitLab snippets, you can store and share bits of code and text with other users. You can comment on, clone, and use version control in snippets. They can contain multiple files. They also support syntax highlighting, embedding, downloading, and you can maintain your snippets with the snippets API. You can create and manage your snippets with:

  6. Creating a permanent link to a code snippet - GitHub Docs

    Markdown can be used in the GitHub web interface. This type of permanent link will render as a code snippet only in the repository it originated in. In other repositories, the permalink code snippet will render as a URL. This does not work in Markdown files, only in comments.

  7. Using GitHub Gists to share code review snippets - graphite.dev

    GitHub Gists are a versatile tool for sharing code snippets, configurations, and other text-based content. By using GitHub Gists in code reviews, developers can facilitate collaboration, highlight specific issues, and provide reusable solutions.

  8. Code style Snippets · GitHub

    3 days ago · GitHub Gist: instantly share code, notes, and snippets.

  9. How to format code on GitHub with backticks, spaces, code and …

    Feb 29, 2024 · To format a line, simply use a single backtick like this `hello`, result: hello. For blocks, you can either use three backticks at the start and end of the block ```, like this. // ... result: // ... or four spaces at the start of each line.

  10. Share Code Snippets with GitHub Gist: A Quick Guide - Journotalk

    Aug 16, 2023 · GitHub Gist delivers a compact yet powerful solution for sharing code snippets effortlessly. From creation and editing to version control and syntax highlighting, Gist brings Git’s prowess to the world of quick sharing.

  11. Some results have been removed
Refresh