| | |
| | | */ |
| | | package de.uhilger.wbx.web; |
| | | |
| | | import com.github.rjeschke.txtmark.Processor; |
| | | import java.io.IOException; |
| | | import java.io.OutputStream; |
| | | import java.util.logging.Logger; |
| | |
| | | import javax.servlet.ServletResponse; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import org.markdown4j.Markdown4jProcessor; |
| | | |
| | | |
| | | /** |
| | |
| | | |
| | | String responseContent = new String(wrapper.getData(), "UTF-8"); |
| | | |
| | | String html = new Markdown4jProcessor().process(responseContent); |
| | | String html = "hier kommt eigener Inhalt hinein"; |
| | | //String html = new Markdown4jProcessor().process(responseContent); |
| | | //String result = Processor.process(responseContent); |
| | | |
| | | out.write(html.getBytes()); |