String input description - Bold text

Is there a way to make parts of the description of the String Input node in bold? I tried using the normal Java way of \033[1m but it just reads it as plain text.

Ah thanks, that helps a lot.

Edit:
Unfortunately it doesn't work. See attached screenshot.

Just realised that editing my previous post does not notify anyone, so a bump here ;)

You have to place the <html> at the beginning of the description and </html> at the end.
Then you can make something bold by placing it between <b> and </b>.

You can also use other tags like <u></u> to style your description.

I tried that as well, also yields the same result.

Edit: Attached a screenshot

We might be talking about different locations.

I am talking about the String input (See attached).
Where do you enter your text?

 

Looks more or less the same

Which KNIME Analytics Platform version are you using?

I verified it with 2.12.2 and 3.1.1 on two PCs.
Can you please have a look at the attached workflow and compare it to your configuration?

If this yields no result, can you provide a workflow containing the quickform node with the broken formatting?

Thank you,
Ferry

This workflow produces the same result for me. I put my MetaNode in an empty workflow and attached it.

Here are my instalation details:

  KNIME Analytics Platform    3.1.1.v201601291159    org.knime.product.desktop    null
  KNIME Autoregressive integrated moving average (ARIMA)    3.1.0.v201511131603    org.knime.features.arima.feature.group    KNIME GmbH, Konstanz, Germany
  KNIME Core    3.1.1.v201601291159    org.knime.features.base.feature.group    KNIME GmbH, Konstanz, Germany
  KNIME Data Generation    3.1.0.v201512012046    org.knime.features.datageneration.feature.group    KNIME GmbH, Konstanz, Germany
  KNIME File Handling Nodes    3.1.0.v201511302130    org.knime.features.base.filehandling.feature.group    KNIME GmbH, Konstanz, Germany
  KNIME HTML/PDF Writer    3.1.0.v201511241214    org.knime.features.ext.birt.feature.group    KNIME GmbH, Konstanz, Germany
  KNIME Image Processing    1.4.2.201602230603    org.knime.knip.feature.feature.group    University of Konstanz / KNIME
  KNIME Image Processing - ImageJ Integration (Beta)    0.10.1.v201511100902    org.knime.knip.imagej.feature.feature.group    KNIME / LOCI
  KNIME Image Processing - OMERO Integration    0.10.1.v201510261649    org.knime.knip.omero.feature.feature.group    KNIME / OME
  KNIME Image Processing - Tess4J Integration    1.2.1.v201512171503    org.knime.knip.tess4j.feature.feature.group    University of Konstanz - Jonathan Hale, Christian Dietz
  KNIME Indexing and Searching    3.1.0.v201511241214    org.knime.features.ext.lucene.feature.group    KNIME GmbH, Konstanz, Germany
  KNIME JPMML Integration    3.1.0.v201511272306    org.knime.features.jpmml.feature.group    KNIME GmbH, Konstanz, Germany
  KNIME Math Expression (JEP)    3.1.0.v201511241214    org.knime.features.ext.jep.feature.group    KNIME GmbH, Konstanz, Germany
  KNIME Modular PMML Nodes    3.1.0.v201511101609    org.knime.features.base.pmml.feature.group    KNIME GmbH, Konstanz, Germany
  KNIME Optimization extension    3.1.0.v201512012046    org.knime.features.optimization.feature.group    KNIME GmbH, Konstanz, Germany
  KNIME Public Server Access    3.1.0.v201511240942    com.knime.features.enterprise.client.exampleserver.feature.group    KNIME.com, Zurich, Switzerland
  KNIME Report Designer    3.1.0.v201511131603    com.knime.features.reporting.designer.feature.group    KNIME.com, Zurich, Switzerland
  KNIME Rule Viewer    3.1.0.v201511131603    org.knime.features.ext.md.feature.group    Otto-von-Guericke-University Magdeburg, Germany
  KNIME Streaming Execution (Beta)    3.1.0.v201511280708    org.knime.features.core.streaming.feature.group    KNIME GmbH, Konstanz, Germany
  KNIME SVG Support    3.1.0.v201511232105    org.knime.features.ext.svg.feature.group    KNIME GmbH, Konstanz, Germany
  KNIME Textprocessing    3.1.0.v201511271537    org.knime.features.ext.textprocessing.feature.group    KNIME GmbH, Konstanz, Germany
  KNIME Virtual Nodes    3.1.0.v201511241214    org.knime.features.virtual.feature.group    KNIME GmbH, Konstanz, Germany
  KNIME Web Service Client    3.1.0.v201511131603    org.knime.features.ext.webservice.client.feature.group    KNIME GmbH, Konstanz, Germany
  KNIME XLS Support    3.1.1.v201601291109    org.knime.features.ext.poi.feature.group    KNIME GmbH, Konstanz, Germany
  KNIME XML-Processing    3.1.0.v201511061023    org.knime.features.xml.feature.group    KNIME GmbH, Konstanz, Germany
  Palladian for KNIME    1.6.100.v201602020900    ws.palladian.nodes.feature.feature.group    palladian.ws; Philipp Katz, Klemens Muthmann, David Urbansky.

There is the misunderstanding. I thought you were talking about the node dialog. There you can use html, but as I was told you shouldn't, as it might break the web-portal view.
The option paragraphs in the Node Description view are not stylable at the moment. Sorry.

There are many things happening with the Quickforms right now, so there might be the possibility to style them in the future, but I can't promise anything. This description is used in the dialog (interpreted by java swt), in the node description (plain text) and in the web portal (html). Therefore it's difficult to solve that and a workaround is likely to break one of the other views.

Sorry for this confusion.

Best,
Ferry

Hello Luuklag,

yes, use HTML.

<html> Description with <b>something</b> highlighted</html>

Edit: No, not at the moment. HTML works for the dialog, but not the node description and probably breaks the web portal.

Best,
Ferry

Ah that is indeed quiet tricky. Perhaps you can let it be styled in HTML, and change the node description to also interpret html. For the dialog you would then need some form of translation between html and java.