How to format code blocks?


Posting code is great when the question you have is very technical. By formatting code blocks properly you make it easier for other people to read your post and answer your question. The easier your question is to digest, the more likely you will get an answer.

You can use Markdown for any kind of formatting.

Particularly for code blocks, add three back-ticks (```) before and after the code snippet. Let’s look at an example:

Writing this:

public String getHelloWorld() {
  return “Hello World!”;

produces this formatted code block:

public String getHelloWorld() {
  return "Hello World!";

Process Variables
Timer not working in Camunda 7.5.3 using PT3S
Not able to start process..plz help
Not able to get the ProcessEngine Instance
Error deplyoing more than one process application referring default process engine
Implementation Java class in business rule task
Camunda EmbeddedForms Start button diabled
Tomcat JNDI Datasource access
Some malfunctions in my user task form
How to make HTTPS call
About configuration
Using a SpinList<SpinXmlElement> as the collection of a multi instance call activity
Apache TomEE PLUS
How to use this forum web-app features?
pinned globally #2


Additionally you can indicate which language the snippet.

For instance if you want Javascript use ```js

function jsFunction() {
  var val = 'awesome';
  return val + 'ness has a possee';

To highlight HTML, you need to use ```xml

    <title>For real</title>

CSS (SCSS or less too)

body {
  background-color: pink;

More about supported languages