This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 2ac4e9677ab Fix website doc build
2ac4e9677ab is described below

commit 2ac4e9677ab0f9089a7933a0043860d68f07416b
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Dec 18 16:37:05 2023 +0100

    Fix website doc build
---
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 6fb9d21c388..e377b98146c 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -239,7 +239,10 @@ camel run foo.java
 ----
 
 You will have an exception on startup about the missing value
-`Caused by: java.lang.IllegalArgumentException: Property with key [you] not 
found in properties from text: Hello Camel from {{you}}`
+[source,text]
+----
+Caused by: java.lang.IllegalArgumentException: Property with key [you] not 
found in properties from text: Hello Camel from {{you}}`
+----
 
 However, you can then run in prompt mode as follows:
 
@@ -263,8 +266,8 @@ Enter required value for you: Jack
 2023-12-15 21:46:55.341  INFO 15033 --- [           main] 
el.impl.engine.AbstractCamelContext : Routes startup (started:1)
 ----
 
-From the snippet above, Camel JBang had two prompts. First for the `{{time}}` 
which has a default value of `1000` so you can just press ENTER to accept the 
default value.
-And for `{{you}}` a value must be entered, and we entered `Jack` in this 
example.
+From the snippet above, Camel JBang had two prompts. First for the `time` 
which has a default value of `1000` so you can just press ENTER to accept the 
default value.
+And for `you` a value must be entered, and we entered `Jack` in this example.
 
 You may want to use this for Camel prototypes where you want the user to be 
able to enter custom values quickly.
 Those values can of course be pre-configured in `application.properties` as 
well.

Reply via email to