You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/blog/2025-06-16-annotations-and-tags/index.malloynb
+13-12Lines changed: 13 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -49,11 +49,11 @@ their annotation prefixes:
49
49
* **prefix:** <code>/^# /</code>
50
50
* Instructions to the Malloy rendering library
51
51
* Example: `# chart { type=bar variant=stacked }`
52
-
* Parsed by the renderer using the Malloy Tag Language
52
+
* Parsed by the renderer using the Malloy Tag Language (See the [Render Tag Documentaion](https://github.com/malloydata/malloy/blob/main/packages/malloy-render/docs/renderer_tags_overview.md))
53
53
* **prefix:** <code>/^##!/</code>
54
54
* Flags to control the Malloy to SQL translator
55
55
* Example: `##! experimental { featureName1 }`
56
-
* Parsed by the Malloy translator, alsing using the Malloy Tag Language
56
+
* Parsed by the Malloy translator, alsing using the Malloy Tag Language (See [Experimental Features](https://docs.malloydata.dev/documentation/experiments/experiments))
57
57
* **prefix**: <code>/^#"/</code>
58
58
* Doc strings for describing objects
59
59
* Example: `#" This source requires a date filter expression (fex)`
@@ -103,6 +103,7 @@ but Malloy also has its own language for writing simple property-value data stru
103
103
More details on the tag language [are in the documentation](https://docs.malloydata.dev/documentation/language/tags#tag-property-language),
104
104
but here is a quick overview to give a flavor of the language.
105
105
106
+
106
107
### Tag Values
107
108
108
109
* A tag has a value which can be a string or an array of values
@@ -111,15 +112,15 @@ but here is a quick overview to give a flavor of the language.
111
112
* There is no boolean value, while you can use the strings `true` and `false` as values, the intention
112
113
is that true/false conditions are indicated by presence/absence of a tag
113
114
114
-
```malloy
115
-
# go_color=green
116
-
# stop_color="red"
117
-
# slow_colors=[yellow orange "yellowish orange"]
115
+
```
116
+
go_color=green
117
+
stop_color="red"
118
+
slow_colors=[yellow orange "yellowish orange"]
118
119
119
120
// a boolean ..
120
-
# slowdown
121
+
slowdown
121
122
// turning off a boolean
122
-
# -slowdown
123
+
-slowdown
123
124
```
124
125
125
126
### Tag Properties
@@ -129,10 +130,10 @@ This is unlike other property languages. A tag, in addition to values, can also
129
130
* Properties on a tag can be set using the familiar `.` (dot) gesture
130
131
* `{}` can be used to specify a number of properties at once
0 commit comments