Вкладки, спойлеры#

Вкладки (tabs)#

`````{md-tab-set}
````{md-tab-item} test-core
```bash
curl --silent http://127.0.0.1:8080/<root-path>/actuator/health/ | grep 'livenessState":{"status":"UP"}' && echo success || echo fail
```
где `<root-path>` - url pathname, на котором будет развернуто приложение.
````

````{md-tab-item} test-front
```bash
curl --silent -I http://127.0.0.1/<root-path>/index.html | grep 200 && echo success || echo fail
```
где `<root-path>` - url pathname, на котором будет развернуто приложение.
````
`````
curl --silent http://127.0.0.1:8080/<root-path>/actuator/health/ | grep 'livenessState":{"status":"UP"}' && echo success || echo fail

где <root-path> - url pathname, на котором будет развернуто приложение.

curl --silent -I http://127.0.0.1/<root-path>/index.html | grep 200 && echo success || echo fail

где <root-path> - url pathname, на котором будет развернуто приложение.

Скрытие кода в спойлере#

Чтобы изначально скрыть код/контент в динамически разворачивающемся спойлере, «оберните» скрываемый код/контент в директиву dropdown.

````{dropdown} Пример лога
:class: example

```bash
#2023-08-11 14:33:50.372  INFO 110787 —- [           main] [] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path '/test4'
#2023-08-11 14:33:50.393  INFO 110787 —- [           main] [] r.s.s.t.core.app.testCoreApplication     : Started testCoreApplication in 13.006 seconds (JVM running for 17.069)
```
````
Пример лога
#2023-08-11 14:33:50.372  INFO 110787 —- [           main] [] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path '/test4'
#2023-08-11 14:33:50.393  INFO 110787 —- [           main] [] r.s.s.t.core.app.testCoreApplication     : Started testCoreApplication in 13.006 seconds (JVM running for 17.069)