Skip to content

Commit

Permalink
DEMO: code blocks formatting breaks with #norun
Browse files Browse the repository at this point in the history
Preview-Path: /docs/
Signed-off-by: Jonathan Matthews <[email protected]>
Change-Id: I91245014a7dee564cbbbccec837f352404667bc8
Dispatch-Trailer: {"type":"trybot","CL":1200361,"patchset":1,"ref":"refs/changes/61/1200361/1","targetBranch":"master"}
  • Loading branch information
jpluscplusm authored and cueckoo committed Aug 30, 2024
1 parent 6ccc4f0 commit 95571c4
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
12 changes: 12 additions & 0 deletions content/docs/_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ cascade:
disableNotification: true
---

The following CUE will **not** be valid after 0.11 is released:

{{{with code "en" "demo"}}}
#norun
#nofmt
exec cue eval
-- broken-after-0-11.cue --
x: [1,2,3] + [4,5,6]
-- out --
x: [1,2,3,4,5,6]
{{{end}}}

# Welcome to CUE!

CUE is an
Expand Down
1 change: 1 addition & 0 deletions content/docs/gen_cache.cue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package site
page: {
cache: {
code: {
demo: "iY2JSpdcCYyyIjw9U/Mts9MLIjSxRpgEr7cfftgZ6Nc="
example: "qcAlsSL8J5OwUZcKpnzhgaF0Bh1a9aQb6XromOTJK9o="
}
}
Expand Down
12 changes: 12 additions & 0 deletions hugo/content/en/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ cascade:
disableNotification: true
---

The following CUE will **not** be valid after 0.11 is released:

{{< code-tabs >}}
{{< code-tab name="broken-after-0-11.cue" language="cue" area="top-left" >}}
x: [1,2,3] + [4,5,6]
{{< /code-tab >}}
{{< code-tab name="TERMINAL" language="" area="top-right" type="terminal" >}}
$
x: [1,2,3,4,5,6]
{{< /code-tab >}}
{{< /code-tabs >}}

# Welcome to CUE!

CUE is an
Expand Down

0 comments on commit 95571c4

Please sign in to comment.