Skip to content

How to display code

Inline code

Just use `:::java List<String> places = Arrays.asList("Buenos Aires", "Córdoba", "La Plata");`
or `:::ruby (1..10).map{|i| i*i}.join('->')`

Just use List<String> places = Arrays.asList("Buenos Aires", "Córdoba", "La Plata"); or (1..10).map{|i| i*i}.join('->')

Syntax highlighting

```python
s = "Python syntax highlighting"
print s
```
s = "Python syntax highlighting"
print s

Java example

```java
public class MonthlyHeatingAndCoolingDemandAnalysisTests
{
        enum Location {
                GERMANY, NYC
        }

        private static final String VERY_LARGE_NYC_BUILDING_TYPE = "Commercial, very large NYC";
        private static final String NON_HEATED_ALKIS_CODE = "2463"; // Garage
        private static final String NO_DHW_ALKIS_CODE = "31001_3072"; // Hall/Firestation
        private static final double MINIMUM_SPECIFIC_HEATING_DEMAND = 50; // [kWh/.a]
        private static final double MINIMUM_SPECIFIC_COOLING_DEMAND = 25; // [kWh/.a]

        private final HeatDemandAnalysisWorkflowProvider mebWorkflowProvider = new HeatDemandAnalysisWorkflowProvider();
        private static final int COMMON_VALUES_COUNT = 39;
        private static final int HEATING_VALUES_COUNT = 14;
        private static final int COOLING_VALUES_COUNT = 14;

        @Test
        public void testDIN18599InGruenbuehl() throws Exception {
                testDIN18599InBadenWuerttemberg("Gruenbuehl", "Gruenbuehl_LOD2_ALKIS_1010", 105, LOD.LOD2, false);
        }
}
```
public class MonthlyHeatingAndCoolingDemandAnalysisTests
{
        enum Location {
                GERMANY, NYC
        }

        private static final String VERY_LARGE_NYC_BUILDING_TYPE = "Commercial, very large NYC";
        private static final String NON_HEATED_ALKIS_CODE = "2463"; // Garage
        private static final String NO_DHW_ALKIS_CODE = "31001_3072"; // Hall/Firestation
        private static final double MINIMUM_SPECIFIC_HEATING_DEMAND = 50; // [kWh/m².a]
        private static final double MINIMUM_SPECIFIC_COOLING_DEMAND = 25; // [kWh/m².a]

        private final HeatDemandAnalysisWorkflowProvider mebWorkflowProvider = new HeatDemandAnalysisWorkflowProvider();
        private static final int COMMON_VALUES_COUNT = 39;
        private static final int HEATING_VALUES_COUNT = 14;
        private static final int COOLING_VALUES_COUNT = 14;

        @Test
        public void testDIN18599InGruenbuehl() throws Exception {
                testDIN18599InBadenWuerttemberg("Gruenbuehl", "Gruenbuehl_LOD2_ALKIS_1010", 105, LOD.LOD2, false);
        }
}