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: _versions/main/guides/dev-ui.adoc
+57-7Lines changed: 57 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -506,13 +506,63 @@ https://github.com/qomponent[Qomponent]: A few custom build compoments that can
506
506
507
507
Currently the following UI component are available:
508
508
509
-
- qui-dot - Render dot files
510
-
- qui-code-block - Render code
511
-
- qui-directory-tree - Render a directory tree (like in the workspace)
512
-
- qui-alert - Show an alert
513
-
- qui-card - Card component
514
-
- qui-switch - Switch button
515
-
- qui-badge - Badge component
509
+
- qui-dot - Render dot files.
510
+
- qui-code-block - Render code. (See below *Code block* section)
511
+
- qui-directory-tree - Render a directory tree (like in the workspace).
512
+
- qui-alert - Show an alert.
513
+
- qui-card - Card component.
514
+
- qui-switch - Switch button.
515
+
- qui-badge - Badge component.
516
+
517
+
====== Code block
518
+
519
+
Creates a code block (containing marked up code). This could also be made editable.
520
+
This component use the above mentioned code block from qomponent, that is build with https://codemirror.net/[code-mirror], but adds the automatic theme state when switching themes.
521
+
522
+
Code can be provided remotely (`src`) or as a property (`content`) or as a slotted value (example below).
523
+
524
+
[source,javascript]
525
+
----
526
+
import 'qui-themed-code-block';
527
+
----
528
+
529
+
[source,html]
530
+
----
531
+
<qui-themed-code-block mode="properties">
532
+
<slot>
533
+
foo = bar
534
+
</slot>
535
+
</qui-themed-code-block>
536
+
----
537
+
538
+
Currently the following modes are supported:
539
+
540
+
- xml
541
+
- javascript
542
+
- php
543
+
- cpp
544
+
- go
545
+
- rust
546
+
- python
547
+
- json
548
+
- java
549
+
- sql
550
+
- yaml
551
+
- html
552
+
- css
553
+
- sass
554
+
- less
555
+
- markdown
556
+
- asciidoc
557
+
- properties
558
+
- asciiArmor
559
+
- powerShell
560
+
- shell
561
+
- protobuf
562
+
- dockerFile
563
+
- diff
564
+
565
+
See the https://github.com/qomponent/qui-code-block[@qomponent/qui-code-block] for more details.
Copy file name to clipboardExpand all lines: _versions/main/guides/telemetry-micrometer.adoc
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -728,15 +728,17 @@ The value cannot be overridden at runtime.
728
728
If you enable the management interface without customizing the management network interface and port, the metrics are exposed under: `http://0.0.0.0:9000/q/metrics`.
729
729
730
730
You can configure the path of each exposed format using:
0 commit comments