Skip to content

Commit 85579bc

Browse files
authoredMar 5, 2025
Fix spacing after @example tag in liquid doc (#840)
1 parent 9d99a41 commit 85579bc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎.changeset/wild-foxes-hear.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/theme-language-server-common': patch
3+
---
4+
5+
Fix spacing after @example tag in liquid doc

‎packages/theme-language-server-common/src/utils/liquidDoc.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const SUPPORTED_LIQUID_DOC_TAG_HANDLES = {
4141
description: 'Provides an example on how to use the snippet.',
4242
example:
4343
'{% doc %}\n' + ' @example {% render "snippet-name", arg1: "value" %}\n' + '{% enddoc %}\n',
44-
template: `example\n$0`,
44+
template: `example $0`,
4545
},
4646
[SupportedDocTagTypes.Description]: {
4747
description: 'Provides information on what the snippet does.',

0 commit comments

Comments
 (0)
Failed to load comments.