Skip to content

Commit 4ab7960

Browse files
authored
Update README.md
1 parent 1124f37 commit 4ab7960

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ You can also quickly copy the tag for a variable or a reusable. This is useful w
3434
**Mac**: <kbd>control</kbd> + <kbd>command</kbd> + <kbd>c</kbd>
3535

3636
**Windows**: <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>c</kbd>
37-
37+
38+
You can also use the copy function to create the Liquid tag for a reusable, a variable, or a feature version, and put this into the clipboard for pasting into a Markdown file:
39+
- In a variable file, place the cursor within a variable and use the copy function to copy the Liquid tag for that variable to the clipboard. For example, with the cursor on a variable called `prodname_docs` the tag `{% data variables.product.prodname_docs %}` is copied into the clipboard.
40+
- Anywhere in a reusable file, use the copy function and the appropriate Liquid tag is copied to the clipboard. For example, in a reusable file called `user-settings.md`, the copy function puts the tag `{% data reusables.path.to.user-settings %}` into the clipboard.
41+
- Anywhere in a feature version file, use the copy function to create the `ifversion` tags for that feature version. For example, in a feature version file called `copilot.yml` the tags `{% ifversion copilot %}{% endif %}` are copied into the clipboard.
42+
3843
Alternatively run the extension from the command palette by choosing **Open reusable file** or **Copy the reusable at the cursor position**.
3944

4045
## Installing the extension

0 commit comments

Comments
 (0)