[
https://issues.apache.org/jira/browse/CAMEL-13920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16920751#comment-16920751
]
Zoran Regvart commented on CAMEL-13920:
---------------------------------------
One option perhaps could be to add more helpers to the
{{tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/MvelHelper.java}}
and use those in the Velocity templates. For example we currently have
{{escape}}
([source|https://github.com/apache/camel/blob/969b03e62ba0baab729d77adf1602606f49db636/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/MvelHelper.java#L35])
used to escape certain character combinations in the resulting Asciidoc files
([example for endpoint
options|https://github.com/apache/camel/blob/c19b4f976c78f9a92e88165d6faeeb962fbcd890/tooling/maven/camel-package-maven-plugin/src/main/resources/endpoint-options.mvel#L17]).
> Find a way to propagate base markup syntax from javadoc to website
> ------------------------------------------------------------------
>
> Key: CAMEL-13920
> URL: https://issues.apache.org/jira/browse/CAMEL-13920
> Project: Camel
> Issue Type: Improvement
> Components: documentation
> Reporter: Jan Bednar
> Assignee: Jan Bednar
> Priority: Minor
>
> HTML tags seems to be stripped out when creating json schema from javadoc.
> Can we include some of safe tags, or replace them with markup, or find some
> other way to propagate formating from javadoc to website?
> This can be seen specialy in [file
> component|https://camel.apache.org/components/latest/file-component.html] for
> readLock option.
> [Javadoc|https://github.com/apache/camel/blob/master/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java#L842]
> for this option contains nice <li> list of allowed values, but on website
> (and also in file.json) are tags excluded. This tends to description, which
> is really hard to read on website.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)