Attention: This component is still under progress and experimental.
b:markdown The markdown tag renders an HTML "textarea" element using Bootstrap Markdown as markdown plugin.
See markdown language for more information.
Tag attributes
label
hideLabel
readonly
required
disabled
rendered
maxLength
language
styleClass
HTML5 tag attributes
placeholder
autofocus
Tag controls
ajax
tooltip
validate
Rendered output
Hint: you can use multiline placeholders by adding '\n'.
tooltip
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.
Value:Hallo & < >
Readable value:Hallo & < >
                            <!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:h="http://xmlns.jcp.org/jsf/html" 
      xmlns:f="http://xmlns.jcp.org/jsf/core" 
      xmlns:b="http://butterfaces.org/components"> 
<h:head /> 
<body>
    <h:form id="formId">
        <b:markdown id="input"
                    label="label"
                    hideLabel="false"
                    value="Hallo & < > "
                    tooltip="tooltip"
                    styleClass="null"
                    readonly="false"
                    required="false"
                    disabled="false"
                    placeholder="Enter text..."
                    language="en"
                    autoFocus="false"
                    rendered="true">
            <b:tooltip>
                tooltip
            </b:tooltip>
        </b:markdown>
    </h:form> 
</body> 
</html>
                        
                            <?xml version="1.0" encoding="UTF-8"?> 
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" 
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
                             http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" 
         version="3.0"> 
  <!-- Auto trim function for input components -->
  <!-- default is 'true' -->
  <context-param>
     <param-name>org.butterfaces.autoTrimInputFields</param-name>
     <param-value>true</param-value>
  </context-param>
</web-app>