Copy a Snippet File's Contents
There are two ways you can copy the contents of a snippet file, You can copy the contents manually from the Snippets page or you can insert them from the context menu in the code editor.
You'll be using the code editor when you edit a variety of pages and input fields: in the Edit Wiki page, when you're editing the readme file, using the snippet file editor, entering text in the merge request comment box, and filling out the shell command box on the Configure Build page.
To get the text you want to use from the snippet file:
Action | How To |
---|---|
Copy from the Snippets page |
|
Insert from the context menu |
|