Skip to content

Commit fe7edf5

Browse files
Update comments-mdx-syntax.md
- Fix the ugly formatting
1 parent 918bbc9 commit fe7edf5

1 file changed

Lines changed: 16 additions & 23 deletions

File tree

‎docs/mdx/comments-mdx-syntax.md‎

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -33,29 +33,22 @@ author: minewiskan
3333
These comment characters can be used on the same line as code to be run, on lines by themselves, or even within executable code. Everything from the open comment pair (/\*) to the close comment pair (\*/) is considered part of the comment. For a multiple-line comment, the open-comment character pair (/\*) must start the comment, and the close-comment character pair (\*/) must end the comment. No other comment characters can appear on any lines of the comment. For more information, see [/*...\*/ (Comment)](../mdx/comment-mdx.md).
3434

3535
## Example
36-
The following query shows examples of all three types of comment:
37-
38-
`//An example of a comment using the double-forward slash`
39-
40-
`--An example of a comment using the double-hypen`
41-
42-
`/*An example of a`
43-
44-
`multi-line`
45-
46-
`comment*/`
47-
48-
`SELECT`
49-
50-
`{[Measures].[Internet Sales Amount]}`
51-
52-
`ON Columns,`
53-
54-
`[Date].[Calendar].MEMBERS`
55-
56-
`ON Rows`
57-
58-
`FROM [Adventure Works]`
36+
The following query shows examples of all three types of comment:
37+
38+
```mdx
39+
//An example of a comment using the double-forward slash
40+
41+
--An example of a comment using the double-hypen
42+
43+
/*An example of a
44+
multi-line
45+
comment*/
46+
47+
SELECT
48+
{[Measures].[Internet Sales Amount]} ON Columns,
49+
[Date].[Calendar].MEMBERS ON Rows
50+
FROM [Adventure Works]
51+
```
5952

6053
## See Also
6154
[MDX Syntax Elements (MDX)](../mdx/mdx-syntax-elements-mdx.md)

0 commit comments

Comments
 (0)